Version the brand images URLs #21

Merged
jcoffey-dev merged 1 commits from brand/versioned-images into main 2026-09-27 05:53:41 +00:00
Owner

Returning visitors kept the old cat from their browser cache. Every brand image URL now carries ?v=BRAND_V. tsc clean, 1423 tests pass, build OK.

Returning visitors kept the old cat from their browser cache. Every brand image URL now carries ?v=BRAND_V. tsc clean, 1423 tests pass, build OK.
jcoffey-dev added 1 commit 2026-09-27 05:50:27 +00:00
Version the brand images' URLs, so a new mark reaches returning visitors
ci / version (pull_request) Skipped
ci / node (pull_request) Successful in 2m25s
ci / publish (pull_request) Skipped
ci / announce (pull_request) Skipped
ci / docker-build (pull_request) Successful in 37s
0adc402629
The logo, favicons and app icons are served from public/img under fixed
names with a browser cache of hours, and the service worker fetches them
through that cache. After the mark changed on 2026-09-27, returning
visitors kept the old cat until their copies expired, and the favicon
and an installed app's icon hold on longer still.

Every URL that names one now carries ?v=BRAND_V (src/lib/brand.ts,
brandImage()): the header, sign-in, About, the mail empty state, the
notification icons, index.html's favicon links, the manifest's icons
and the service worker's shell and notification icons. Date-stamped,
never a counter, for the sites' ASSET_V reason; the three static files
carry the value written out, and the comment says to keep them in step.
jcoffey-dev merged commit ffe1a898f5 into main 2026-09-27 05:53:41 +00:00
jcoffey-dev deleted branch brand/versioned-images 2026-09-27 05:53:41 +00:00
Sign in to join this conversation.