diff --git a/app/static/sw.js b/app/static/sw.js index fe576ab..ea22bdb 100644 --- a/app/static/sw.js +++ b/app/static/sw.js @@ -1,9 +1,9 @@ // NextSnap Service Worker // Provides offline-first caching for the app shell -const CACHE_VERSION = 'nextsnap-v20'; -const APP_SHELL_CACHE = 'nextsnap-shell-v16'; -const RUNTIME_CACHE = 'nextsnap-runtime-v16'; +const CACHE_VERSION = 'nextsnap-v21'; +const APP_SHELL_CACHE = 'nextsnap-shell-v17'; +const RUNTIME_CACHE = 'nextsnap-runtime-v17'; // Offline fallback page (served when network fails and no cached version exists) const OFFLINE_PAGE = ` @@ -27,6 +27,9 @@ button:active{opacity:0.8} // Assets to cache on install const APP_SHELL_ASSETS = [ '/', + '/capture', + '/queue', + '/browser', '/static/css/style.css', '/static/js/app.js', '/static/js/auth.js',