Fix: CSS-Version ?v=382→500 — immutable-Cache zwingt Browser zu neuem Download, SW by-v524
This commit is contained in:
parent
bbedd658fa
commit
bdcb6bfd51
3 changed files with 8 additions and 8 deletions
|
|
@ -88,9 +88,9 @@
|
|||
</script>
|
||||
|
||||
<!-- CSS: Reihenfolge ist wichtig — ?v= zwingt Browser zur Neuladung -->
|
||||
<link rel="stylesheet" href="/css/design-system.css?v=382">
|
||||
<link rel="stylesheet" href="/css/layout.css?v=382">
|
||||
<link rel="stylesheet" href="/css/components.css?v=382">
|
||||
<link rel="stylesheet" href="/css/design-system.css?v=500">
|
||||
<link rel="stylesheet" href="/css/layout.css?v=500">
|
||||
<link rel="stylesheet" href="/css/components.css?v=500">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
|
|
|||
|
|
@ -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';
|
||||
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue