Fix: SW-Update Dauerschleife — controllerchange nicht auf Reload-Seiten registrieren (SW by-v888)
clients.claim() feuert asynchron nach Seitenstart → controllerchange auf der neu geladenen Seite → Reload → clients.claim() → loop. Fix: controllerchange nur registrieren wenn _t= NICHT im URL steht.
This commit is contained in:
parent
b8f70eb2cd
commit
7257c9e04f
4 changed files with 14 additions and 11 deletions
|
|
@ -3,7 +3,7 @@
|
|||
Offline-Cache + Push Notifications + Tile-Cache
|
||||
============================================================ */
|
||||
|
||||
const CACHE_VERSION = 'by-v887';
|
||||
const CACHE_VERSION = 'by-v888';
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue