From 86ba9112de862af5b6ff55e8940cfbd9a01771de Mon Sep 17 00:00:00 2001 From: Spythere Date: Fri, 31 May 2024 20:26:35 +0200 Subject: [PATCH] hotfix: caching --- vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vite.config.ts b/vite.config.ts index 302a395..9f4b1be 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -29,7 +29,7 @@ export default defineConfig({ runtimeCaching: [ { urlPattern: /^https:\/\/.*\.spythere\.eu\/.*/i, - handler: 'CacheFirst', + handler: 'StaleWhileRevalidate', options: { cacheName: 'spythere-cache', },