From 595188b9d8b1093ab0dd347e4fd87a53f8f2703e Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Thu, 16 Apr 2026 16:36:54 -0400 Subject: [PATCH] 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. --- website/sw.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/sw.ts b/website/sw.ts index c94b9245..56368a9e 100644 --- a/website/sw.ts +++ b/website/sw.ts @@ -1,7 +1,7 @@ /// 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`;