Fix: Offline-UX — 📡 statt 🚧 bei offline-Seiten, schnellerer Warm-up, mehr Endpoints gecacht (SW by-v989)
This commit is contained in:
parent
8ad3ca8a74
commit
f0c1ee3386
4 changed files with 26 additions and 16 deletions
|
|
@ -3,7 +3,7 @@
|
|||
Offline-Cache + Push Notifications + Tile-Cache
|
||||
============================================================ */
|
||||
|
||||
const CACHE_VERSION = 'by-v988';
|
||||
const CACHE_VERSION = 'by-v989';
|
||||
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
|
||||
|
|
@ -140,10 +140,14 @@ const _CACHEABLE_GET = [
|
|||
/^\/api\/training\/plan-progress/,
|
||||
/^\/api\/wiki\/rassen/,
|
||||
/^\/api\/dogs\/\d+\/diary\/stats/,
|
||||
/^\/api\/routes$/,
|
||||
/^\/api\/places$/,
|
||||
/^\/api\/breeder\/map-markers$/,
|
||||
/^\/api\/routes/,
|
||||
/^\/api\/places/,
|
||||
/^\/api\/breeder\/map-markers/,
|
||||
/^\/api\/gassi-zeiten/,
|
||||
/^\/api\/poison/,
|
||||
/^\/api\/walks/,
|
||||
/^\/api\/lost/,
|
||||
/^\/api\/expenses/,
|
||||
// Drei Welten — offline-fähig
|
||||
/^\/api\/streak\/\d+/,
|
||||
/^\/api\/forum\/threads/,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue