From f26f7e14bd41e94de4b77c11cff7b39effba4d96 Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Mon, 6 Apr 2026 12:39:36 -0400 Subject: [PATCH] fix(sw): bump cache version to v6 to flush stale cached 301 redirect MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The old service worker cached the root URL (/) as a 301→/rcal during the standaloneDomain misconfiguration. Bumping the SW cache version forces a full cache purge on next activation, clearing the stale redirect for all users. Co-Authored-By: Claude Opus 4.6 --- website/sw.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/sw.ts b/website/sw.ts index ac30f61..46008d5 100644 --- a/website/sw.ts +++ b/website/sw.ts @@ -1,7 +1,7 @@ /// declare const self: ServiceWorkerGlobalScope; -const CACHE_VERSION = "rspace-v5"; +const CACHE_VERSION = "rspace-v6"; const STATIC_CACHE = `${CACHE_VERSION}-static`; const HTML_CACHE = `${CACHE_VERSION}-html`; const API_CACHE = `${CACHE_VERSION}-api`;