From 70233671a6854421618c1525020125cb1be58def Mon Sep 17 00:00:00 2001 From: consultoria-as Date: Fri, 12 Jun 2026 08:19:48 +0000 Subject: [PATCH] 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 --- pos/static/pwa/sw.js | 2 +- pos/templates/dashboard.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pos/static/pwa/sw.js b/pos/static/pwa/sw.js index 85669f2..4793439 100644 --- a/pos/static/pwa/sw.js +++ b/pos/static/pwa/sw.js @@ -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', diff --git a/pos/templates/dashboard.html b/pos/templates/dashboard.html index 3984d9b..3334254 100644 --- a/pos/templates/dashboard.html +++ b/pos/templates/dashboard.html @@ -568,7 +568,7 @@ - +