Fix: Step 4 toleranter + Prefetch im 60s-Interval, SW by-v1092
Step 4 verlangte alle 3 von expenses/routes/notes — einer fehlte (vermutlich notes 401 weil beim Prefetch noch nicht eingeloggt) → Pfote weiß. Jetzt reichen 2 von 3. Außerdem läuft _prefetchData() nicht nur beim Init + 2/5/10/20s- Retries, sondern auch alle 60s mit refresh() — falls Login erst spät erfolgt, kommt die fehlende API beim nächsten Tick.
This commit is contained in:
parent
0ba0de12b3
commit
66d2d96a2f
5 changed files with 18 additions and 15 deletions
|
|
@ -4,7 +4,7 @@
|
|||
============================================================ */
|
||||
|
||||
// ← EINZIGE Stelle für die Version — STATIC_ASSETS und CACHE_VERSION leiten sich ab
|
||||
const VER = '1091';
|
||||
const VER = '1092';
|
||||
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