From a37a94499858139ef5363ffe02f99322ebe95764 Mon Sep 17 00:00:00 2001 From: rene Date: Thu, 30 Apr 2026 10:38:11 +0200 Subject: [PATCH] =?UTF-8?q?Fix:=20CSS-Version=20=3Fv=3D500=E2=86=92540=20?= =?UTF-8?q?=E2=80=94=20immutable-Cache=20erzwingt=20Browser-Reload,=20SW?= =?UTF-8?q?=20by-v541,=20APP=5FVER=20518?= 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 688dd83..ed700b7 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 2c648b4..7ea3b71 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 = '517'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen +const APP_VER = '518'; // ← 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 9974415..8a13e3e 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-v540'; +const CACHE_VERSION = 'by-v541'; 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=500', - '/css/layout.css?v=500', - '/css/components.css?v=500', + '/css/design-system.css?v=540', + '/css/layout.css?v=540', + '/css/components.css?v=540', '/icons/phosphor.svg', '/js/api.js', '/js/ui.js',