diff --git a/public/api.js b/public/api.js index aef11fe..f12f104 100644 --- a/public/api.js +++ b/public/api.js @@ -30,6 +30,7 @@ async function apiFetch(path, options = {}) { const response = await fetch(url, { credentials: 'same-origin', + cache: 'no-store', headers: { 'Content-Type': 'application/json', ...(stateChanging ? { 'X-CSRF-Token': getCsrfToken() } : {}), diff --git a/public/sw.js b/public/sw.js index fe21c78..c369543 100644 --- a/public/sw.js +++ b/public/sw.js @@ -12,9 +12,9 @@ * API: Immer Netzwerk (kein Caching von Nutzerdaten) */ -const SHELL_CACHE = 'oikos-shell-v15'; -const PAGES_CACHE = 'oikos-pages-v15'; -const ASSETS_CACHE = 'oikos-assets-v15'; +const SHELL_CACHE = 'oikos-shell-v16'; +const PAGES_CACHE = 'oikos-pages-v16'; +const ASSETS_CACHE = 'oikos-assets-v16'; const ALL_CACHES = [SHELL_CACHE, PAGES_CACHE, ASSETS_CACHE]; // App-Shell: sofort benötigt für ersten Render