Fix: SW-Update doppelter Reload nach force-update — controllerchange konsumiert by_skip_sw_reload Flag (SW by-v887)

statechange-activated und controllerchange feuern beide beim SW-Update.
statechange konsumierte den Flag und controllerchange reloadete trotzdem.
Jetzt prüft statechange nur, controllerchange konsumiert.
This commit is contained in:
rene 2026-05-12 19:29:04 +02:00
parent 3967544de7
commit b8f70eb2cd
4 changed files with 10 additions and 8 deletions

View file

@ -3,7 +3,7 @@
Offline-Cache + Push Notifications + Tile-Cache
============================================================ */
const CACHE_VERSION = 'by-v886';
const CACHE_VERSION = 'by-v887';
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