A changed favicon is not picked up for a day #57

Closed
opened 2026-09-28 07:09:44 -07:00 by rays · 1 comment
Owner

/favicon.png, /apple-touch-icon.png and /logo.svg are served with max-age=86400 under fixed names, so after the logo changed, browsers and Cloudflare's edge kept the old one (seen with curl after 7796566 was deployed). Name them with a hash of their contents in the pages, as app.js and app.css are.

/favicon.png, /apple-touch-icon.png and /logo.svg are served with max-age=86400 under fixed names, so after the logo changed, browsers and Cloudflare's edge kept the old one (seen with curl after 7796566 was deployed). Name them with a hash of their contents in the pages, as app.js and app.css are.
rays added the bug label 2026-09-28 07:09:44 -07:00
Author
Owner

Fixed in ae900b8: the pages ask for /favicon.png, /apple-touch-icon.png and /logo.svg with ?v=, so a changed icon is a new URL for browsers and Cloudflare. /favicon.ico cannot carry a query and still keeps a day. Deployed.

Fixed in ae900b8: the pages ask for /favicon.png, /apple-touch-icon.png and /logo.svg with ?v=<hash of the file>, so a changed icon is a new URL for browsers and Cloudflare. /favicon.ico cannot carry a query and still keeps a day. Deployed.
rays closed this issue 2026-09-28 07:16:51 -07:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rays/ipx#57