chore: bump service worker cache version to v5 and add manifest cache-busting parameter

Increment CACHE_NAME from media-max-shell-v4 to v5 in sw.js. Update service worker registration query parameter from v=4 to v=5 in index.html. Add v=5 cache-busting parameter to manifest.json link tag. Remove duplicate service worker registration script block from template footer
This commit is contained in:
2026-08-17 19:36:04 +02:00
parent 14a4c6ce7b
commit 2096fc5d11
2 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
const CACHE_NAME = 'media-max-shell-v4';
const CACHE_NAME = 'media-max-shell-v5';
const SHELL = ['/static/media-mark.svg', '/static/media-mark-192.svg', '/static/media-mark-512.svg', '/static/manifest.json'];
self.addEventListener('install', event => {