Fix: /api/notes ins SW Cacheable-Liste aufnehmen, SW by-v1089
Step 4 der Offline-Pfote (Weitere Listen) blieb weiß weil /api/notes nicht in _CACHEABLE_GET stand — Notes-Requests wurden vom SW gar nicht gecacht, egal wie oft sie geladen wurden. Regex /^\/api\/notes/ ergänzt — jetzt cached der SW Notes-GETs mit Stale-While-Revalidate (default 5min TTL).
This commit is contained in:
parent
03725d6682
commit
d47fb61abf
4 changed files with 12 additions and 11 deletions
|
|
@ -3,7 +3,7 @@
|
|||
Router, State-Management, Navigation, Initialisierung.
|
||||
============================================================ */
|
||||
|
||||
const APP_VER = '1088'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
|
||||
const APP_VER = '1089'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
|
||||
const APP_VERSION = '1.6.0'; // ← semantische Version, wird bei make release gesetzt
|
||||
window.APP_VER = APP_VER; // global verfügbar für andere Module (z.B. offline-indicator)
|
||||
window.APP_VERSION = APP_VERSION;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue