chore(sw): bump cache version to v10 to purge stale rpast 404 shells
Users on an older SW built before rpast existed saw a cached /rpast shell with an outdated module list (rmail/rfunds/rwork/...). Bumping the cache version forces activation-time cleanup to drop the old entries on next visit.
This commit is contained in:
parent
98d6d22e55
commit
595188b9d8
|
|
@ -1,7 +1,7 @@
|
|||
/// <reference lib="webworker" />
|
||||
declare const self: ServiceWorkerGlobalScope;
|
||||
|
||||
const CACHE_VERSION = "rspace-v9";
|
||||
const CACHE_VERSION = "rspace-v10";
|
||||
const STATIC_CACHE = `${CACHE_VERSION}-static`;
|
||||
const HTML_CACHE = `${CACHE_VERSION}-html`;
|
||||
const API_CACHE = `${CACHE_VERSION}-api`;
|
||||
|
|
|
|||
Loading…
Reference in New Issue