fix: Service Worker cache version v2 -> v3 to bust stale HTML cache
CI / lint (push) Failing after 20s
CI / test (push) Has been skipped
CI / build (push) Has been skipped
CI / e2e (push) Has been skipped
CI / security (push) Failing after 9s

- SW cached / and /static/index.html with cache-first strategy
- Old HTML with 422 error persisted after rebuild
- Bumping CACHE_VERSION forces reinstall with fresh assets
This commit is contained in:
2026-06-19 15:25:08 -04:00
parent 2508c37ef2
commit 90c680414c
+1 -1
View File
@@ -1,6 +1,6 @@
/* ObsiGate Service Worker - PWA v2 with IndexedDB offline support */
const CACHE_VERSION = 'obsigate-v2-pwa';
const CACHE_VERSION = 'obsigate-v3-pwa';
const STATIC_CACHE = CACHE_VERSION + '-static';
const DYNAMIC_CACHE = CACHE_VERSION + '-dynamic';
const MAX_DYNAMIC_CACHE_SIZE = 100;