From 120f52a29a233c1e2ee1bd801bad8097e2f805f5 Mon Sep 17 00:00:00 2001 From: Shawn Date: Mon, 1 Jun 2026 23:09:17 -0400 Subject: [PATCH] chore: bump service worker cache to v8 to force refresh Old cached index.html was likely serving stale JS on mobile devices. v8 purge ensures all clients fetch the latest code on next load. --- static/sw.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/sw.js b/static/sw.js index b10e404..f736a13 100644 --- a/static/sw.js +++ b/static/sw.js @@ -3,7 +3,7 @@ // Caches app shell + CDN deps. Network-first for API, cache fallback for static. // ═══════════════════════════════════════════════════════════════════════════ -const CACHE_NAME = 'canteen-v7'; +const CACHE_NAME = 'canteen-v8'; // App shell — core resources needed to boot the PWA const APP_SHELL = [