From bdcb6bfd510e3edb8d5c15d4041a3e1b143f9753 Mon Sep 17 00:00:00 2001 From: rene Date: Thu, 30 Apr 2026 06:30:45 +0200 Subject: [PATCH] =?UTF-8?q?Fix:=20CSS-Version=20=3Fv=3D382=E2=86=92500=20?= =?UTF-8?q?=E2=80=94=20immutable-Cache=20zwingt=20Browser=20zu=20neuem=20D?= =?UTF-8?q?ownload,=20SW=20by-v524?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/static/index.html | 6 +++--- backend/static/js/app.js | 2 +- backend/static/sw.js | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/backend/static/index.html b/backend/static/index.html index 7244717..688dd83 100644 --- a/backend/static/index.html +++ b/backend/static/index.html @@ -88,9 +88,9 @@ - - - + + + diff --git a/backend/static/js/app.js b/backend/static/js/app.js index 7911634..fd37f78 100644 --- a/backend/static/js/app.js +++ b/backend/static/js/app.js @@ -3,7 +3,7 @@ Router, State-Management, Navigation, Initialisierung. ============================================================ */ -const APP_VER = '500'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen +const APP_VER = '501'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen const APP_VERSION = '1.0.0'; // ← semantische Version, wird bei make release gesetzt const IS_STAGING = location.hostname === 'staging.banyaro.app'; diff --git a/backend/static/sw.js b/backend/static/sw.js index 7501bec..3cdb370 100644 --- a/backend/static/sw.js +++ b/backend/static/sw.js @@ -3,16 +3,16 @@ Offline-Cache + Push Notifications + Tile-Cache ============================================================ */ -const CACHE_VERSION = 'by-v523'; +const CACHE_VERSION = 'by-v524'; const CACHE_STATIC = `${CACHE_VERSION}-static`; const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten const CACHE_API = 'ban-yaro-api-v1'; // API-Response-Cache // index.html wird NICHT pre-gecacht (immer Network-First) const STATIC_ASSETS = [ - '/css/design-system.css?v=382', - '/css/layout.css?v=382', - '/css/components.css?v=382', + '/css/design-system.css?v=500', + '/css/layout.css?v=500', + '/css/components.css?v=500', '/icons/phosphor.svg', '/js/api.js', '/js/ui.js',