iOS PWA: reg.update() beim Start + visibilitychange — SW by-v412

iOS prüft im Standalone-Modus nicht automatisch ob ein neuer SW vorliegt.
reg.update() erzwingt die Prüfung beim App-Öffnen und beim Zurückkehren
aus dem Hintergrund — der bestehende controllerchange→reload greift dann.
This commit is contained in:
rene 2026-04-26 08:38:50 +02:00
parent 1400033862
commit 4353994c68
2 changed files with 16 additions and 4 deletions

View file

@ -3,7 +3,7 @@
Offline-Cache + Push Notifications + Tile-Cache
============================================================ */
const CACHE_VERSION = 'by-v411';
const CACHE_VERSION = 'by-v412';
const CACHE_STATIC = `${CACHE_VERSION}-static`;
const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten