Fix: Offline-Pfote — Step 2+3 tolerant, mehr Prefetch, SW by-v1088
Steps wurden nicht grün weil Probes zu strikt waren (alle 7 Module bzw. 3 URL-Patterns erforderlich) — Cache-Inhalt zum Refresh- Zeitpunkt oft unvollständig. - Step 2 toleriert 1 fehlendes Page-Modul (have >= want-1) - Step 3 verlangt nur noch Profil ODER welcome-dashboard PLUS Diary ODER Health (nicht beides) - Neuer _prefetchPages() lädt alle 10 Page-Module proaktiv beim App-Start — unabhängig von SW-Install-Status - _prefetchData() wird jetzt mehrmals retried (2s, 5s, 10s, 20s), damit hund-spezifische Daten geholt werden sobald _appState.activeDog gesetzt ist
This commit is contained in:
parent
87462cb2fe
commit
03725d6682
5 changed files with 39 additions and 24 deletions
|
|
@ -4,7 +4,7 @@
|
|||
============================================================ */
|
||||
|
||||
// ← EINZIGE Stelle für die Version — STATIC_ASSETS und CACHE_VERSION leiten sich ab
|
||||
const VER = '1087';
|
||||
const VER = '1088';
|
||||
const CACHE_VERSION = `by-v${VER}`;
|
||||
const CACHE_STATIC = `${CACHE_VERSION}-static`;
|
||||
const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue