From e6f0bad71df385588a024b39aa8c11dec55cc0d5 Mon Sep 17 00:00:00 2001 From: M1ngdaXie <156019134+M1ngdaXie@users.noreply.github.com> Date: Fri, 27 Mar 2026 18:46:12 -0700 Subject: [PATCH] Update service worker cache version and asset URLs for improved caching --- sw.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sw.js b/sw.js index c2f8173..68f112e 100644 --- a/sw.js +++ b/sw.js @@ -1,10 +1,10 @@ -const CACHE_NAME = 'chengyu-v1'; +const CACHE_NAME = 'chengyu-v3'; const ASSETS = [ '/', '/index.html', - '/style.css', - '/app.js', - '/data.js', + '/style.css?v=3', + '/app.js?v=3', + '/data.js?v=3', '/manifest.json', '/icons/icon-192.png', '/icons/icon-512.png'