Fix: ki-berichte aus SW-Cache ausgenommen, force-Reload nach Generierung, Berichte alle sichtbar (SW by-v803)
This commit is contained in:
parent
322a9609b3
commit
fbd8f0cd8f
4 changed files with 11 additions and 8 deletions
|
|
@ -3,7 +3,7 @@
|
|||
Offline-Cache + Push Notifications + Tile-Cache
|
||||
============================================================ */
|
||||
|
||||
const CACHE_VERSION = 'by-v802';
|
||||
const CACHE_VERSION = 'by-v803';
|
||||
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
|
||||
|
|
@ -120,7 +120,7 @@ const _CACHEABLE_GET = [
|
|||
/^\/api\/dogs(\/\d+)?$/,
|
||||
/^\/api\/dogs\/\d+\/welcome-dashboard/,
|
||||
/^\/api\/dogs\/\d+\/diary/,
|
||||
/^\/api\/dogs\/\d+\/health/,
|
||||
/^\/api\/dogs\/\d+\/health(?!\/ki-)/, // ki-berichte + ki-zusammenfassung nie cachen
|
||||
/^\/api\/training\/exercises/,
|
||||
/^\/api\/training\/progress/,
|
||||
/^\/api\/wiki\/rassen/,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue