SW: Shell-Assets nach 2,5s aus dem Cache statt endlos aufs Netz warten
Bei schwachem Empfang blieb die App beim Start SEHR LANGE weiss: CSS + Kern-JS + index.html waren Network-First OHNE Timeout — der Cache griff nur bei hartem Fetch-Fehler, nicht bei troepfelnder Verbindung. Jetzt: Promise.race(Netz, 2,5s) -> Cache-Fallback (stale-while-revalidate, Netz aktualisiert den Cache im Hintergrund weiter). Versions-Updates laufen weiter ueber x-app-version + controllerchange. Bump v1232
This commit is contained in:
parent
6c313aca05
commit
a914101c5b
5 changed files with 55 additions and 39 deletions
2
VERSION
2
VERSION
|
|
@ -1 +1 @@
|
|||
1231
|
||||
1232
|
||||
Loading…
Add table
Add a link
Reference in a new issue