assets: version the desktop screenshots
nginx serves these paths with max-age=31536000, immutable, and applies it to a 404 exactly as readily as to an image. A request for a file that had not shipped yet — one of our own checks, as it happens — pinned a 404 in Cloudflare's cache for a year, and redeploying does not dislodge it: the edge never asks the origin again. The version in the name gives the store listing a URL the cache has never seen. It also makes the screenshots honest about which release they show.
This commit is contained in:
1 parent
3f863299e2
commit
6ea6e26c6c
5 files changed
No files matched your search
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user