fix(pwa): cache-bust icon link tags (?v=20260515-3a)
CI / test (push) Has been cancelled

iOS Safari caches the apple-touch-icon per origin and ignores byte-level
changes on the same URL. Adding a version query forces a refetch on
fresh visits without renaming the source files. Buttressed across all
standalone Twig templates and the SPA index plus the manifest icons so
Chrome desktop also refetches.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-15 14:37:56 -04:00
parent 8ae4a2fd5a
commit 5e8d9efb7b
15 changed files with 58 additions and 58 deletions
+4 -4
View File
@@ -5,11 +5,11 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
<title>WeVisto</title>
<link rel="icon" type="image/svg+xml" href="/build/favicon.svg" />
<link rel="icon" type="image/png" sizes="32x32" href="/build/icons/favicon-32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/build/icons/favicon-16.png" />
<link rel="icon" type="image/svg+xml" href="/build/favicon.svg?v=20260515-3a" />
<link rel="icon" type="image/png" sizes="32x32" href="/build/icons/favicon-32.png?v=20260515-3a" />
<link rel="icon" type="image/png" sizes="16x16" href="/build/icons/favicon-16.png?v=20260515-3a" />
<link rel="manifest" href="/build/manifest.webmanifest" />
<link rel="apple-touch-icon" sizes="180x180" href="/build/icons/apple-touch-icon.png" />
<link rel="apple-touch-icon" sizes="180x180" href="/build/icons/apple-touch-icon.png?v=20260515-3a" />
<meta name="theme-color" content="#fdf6ee" />
<meta name="apple-mobile-web-app-capable" content="yes" />