fix(dashboard): bust PWA cache for historical sales section

- Bump service worker cache name to v18 to clear stale JS/CSS caches
- Bump dashboard.js to ?v=4 so browsers fetch updated script
This commit is contained in:
2026-06-12 08:19:48 +00:00
parent 33df6e9280
commit 70233671a6
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@
// The fetch handler normalizes static asset URLs (strips ?v= query strings)
// so templates can use cache-busting query params freely.
const CACHE_NAME = 'nexus-pos-v17';
const CACHE_NAME = 'nexus-pos-v18';
const APP_SHELL = [
'/pos/static/css/tokens.css',