Fix: CSS ?v=540→543 — Browser-Cache invalidieren, overflow-y:visible auf Desktop, SW by-v544

This commit is contained in:
rene 2026-04-30 11:06:13 +02:00
parent d2e3009402
commit ca44a53fb2
3 changed files with 8 additions and 8 deletions

View file

@ -88,9 +88,9 @@
</script> </script>
<!-- CSS: Reihenfolge ist wichtig — ?v= zwingt Browser zur Neuladung --> <!-- CSS: Reihenfolge ist wichtig — ?v= zwingt Browser zur Neuladung -->
<link rel="stylesheet" href="/css/design-system.css?v=540"> <link rel="stylesheet" href="/css/design-system.css?v=543">
<link rel="stylesheet" href="/css/layout.css?v=540"> <link rel="stylesheet" href="/css/layout.css?v=543">
<link rel="stylesheet" href="/css/components.css?v=540"> <link rel="stylesheet" href="/css/components.css?v=543">
</head> </head>
<body> <body>

View file

@ -3,7 +3,7 @@
Router, State-Management, Navigation, Initialisierung. Router, State-Management, Navigation, Initialisierung.
============================================================ */ ============================================================ */
const APP_VER = '520'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen const APP_VER = '521'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
const APP_VERSION = '1.0.0'; // ← semantische Version, wird bei make release gesetzt const APP_VERSION = '1.0.0'; // ← semantische Version, wird bei make release gesetzt
const IS_STAGING = location.hostname === 'staging.banyaro.app'; const IS_STAGING = location.hostname === 'staging.banyaro.app';

View file

@ -3,16 +3,16 @@
Offline-Cache + Push Notifications + Tile-Cache Offline-Cache + Push Notifications + Tile-Cache
============================================================ */ ============================================================ */
const CACHE_VERSION = 'by-v543'; const CACHE_VERSION = 'by-v544';
const CACHE_STATIC = `${CACHE_VERSION}-static`; const CACHE_STATIC = `${CACHE_VERSION}-static`;
const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten
const CACHE_API = 'ban-yaro-api-v1'; // API-Response-Cache const CACHE_API = 'ban-yaro-api-v1'; // API-Response-Cache
// index.html wird NICHT pre-gecacht (immer Network-First) // index.html wird NICHT pre-gecacht (immer Network-First)
const STATIC_ASSETS = [ const STATIC_ASSETS = [
'/css/design-system.css?v=540', '/css/design-system.css?v=543',
'/css/layout.css?v=540', '/css/layout.css?v=543',
'/css/components.css?v=540', '/css/components.css?v=543',
'/icons/phosphor.svg', '/icons/phosphor.svg',
'/js/api.js', '/js/api.js',
'/js/ui.js', '/js/ui.js',