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)
19 lines
709 B
Plaintext
19 lines
709 B
Plaintext
/*
|
|
Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-inline' https://static.cloudflareinsights.com; style-src 'self' 'unsafe-inline'; font-src 'self' data:; img-src 'self' data:; connect-src 'self' https://cloudflareinsights.com; base-uri 'self'; form-action 'self'; frame-ancestors 'none'
|
|
Permissions-Policy: camera=(), microphone=(), geolocation=()
|
|
Referrer-Policy: strict-origin-when-cross-origin
|
|
X-Content-Type-Options: nosniff
|
|
X-Frame-Options: DENY
|
|
|
|
/_next/static/*
|
|
Cache-Control: public, max-age=31536000, immutable
|
|
|
|
/images/*
|
|
Cache-Control: public, max-age=604800
|
|
|
|
/favicon.ico
|
|
Cache-Control: public, max-age=86400
|
|
|
|
/icon.png
|
|
Cache-Control: public, max-age=86400
|