Bump: SW by-v1068 (Übungen-Redesign)

This commit is contained in:
rene 2026-05-19 18:58:12 +02:00
parent c5bb3ee2cb
commit b1e4d7fce1
4 changed files with 46 additions and 21 deletions

View file

@ -3,7 +3,9 @@
Offline-Cache + Push Notifications + Tile-Cache
============================================================ */
const CACHE_VERSION = 'by-v1036';
// ← EINZIGE Stelle für die Version — STATIC_ASSETS und CACHE_VERSION leiten sich ab
const VER = '1068';
const CACHE_VERSION = `by-v${VER}`;
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
@ -22,13 +24,14 @@ const PRIORITY_PAGES = [
// index.html wird NICHT pre-gecacht (immer Network-First)
const STATIC_ASSETS = [
'/css/design-system.css?v=982',
'/css/layout.css?v=982',
'/css/components.css?v=982',
`/css/design-system.css?v=${VER}`,
`/css/layout.css?v=${VER}`,
`/css/components.css?v=${VER}`,
'/icons/phosphor.svg',
'/js/api.js',
'/js/ui.js',
'/js/app.js',
`/js/api.js?v=${VER}`,
`/js/ui.js?v=${VER}`,
`/js/app.js?v=${VER}`,
`/js/worlds.js?v=${VER}`,
'/js/leaflet.markercluster.js',
'/css/MarkerCluster.css',
'/css/MarkerCluster.Default.css',