Fix stale favicon: version icon URLs and stop immutable-caching brand assets
The old favicon/logo were pinned by `Cache-Control: immutable` (1 year), so browsers never refetched the new glass-bloom mark. - _headers: favicon.ico + icon.png now cache for a day (revalidating), not immutable; drop dead /screenshots + /assets rules; cache /images for a week - version icon references (?v=2) so existing immutable caches are busted now - add a modern PNG icon link (/icon.png) that browsers prefer over the .ico - remove the dead root _headers duplicate (only public/_headers ships)
This commit is contained in:
1 parent
90c4be807e
commit
52937c6c88
4 files changed
+11
-32
No files matched your search
@@ -5,17 +5,14 @@
|
||||
X-Content-Type-Options: nosniff
|
||||
X-Frame-Options: DENY
|
||||
|
||||
/screenshots/*
|
||||
Cache-Control: public, max-age=31536000, immutable
|
||||
|
||||
/assets/*
|
||||
Cache-Control: public, max-age=31536000, immutable
|
||||
|
||||
/_next/static/*
|
||||
Cache-Control: public, max-age=31536000, immutable
|
||||
|
||||
/images/*
|
||||
Cache-Control: public, max-age=604800
|
||||
|
||||
/favicon.ico
|
||||
Cache-Control: public, max-age=31536000, immutable
|
||||
Cache-Control: public, max-age=86400
|
||||
|
||||
/icon.png
|
||||
Cache-Control: public, max-age=31536000, immutable
|
||||
Cache-Control: public, max-age=86400
|
||||
Reference in new issue
Block a user