From 0d4816804e33cd1ed376608c3d883748dec8b241 Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Mon, 12 Oct 2026 18:29:51 +0200 Subject: [PATCH] dont cache csound --- website/astro.config.mjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/website/astro.config.mjs b/website/astro.config.mjs index de08502dd..23b49bc93 100644 --- a/website/astro.config.mjs +++ b/website/astro.config.mjs @@ -73,6 +73,7 @@ export default defineConfig({ workbox: { maximumFileSizeToCacheInBytes: 4194304, // 4MB globPatterns: ['**/*.{js,css,html,ico,png,svg,json,wav,mp3,ogg,ttf,woff2,TTF,otf}'], + globIgnores: ['img/**', '_astro/csound*.js'], runtimeCaching: [ { urlPattern: ({ url }) => @@ -88,7 +89,7 @@ export default defineConfig({ cacheName: 'external-samples', expiration: { maxEntries: 5000, - maxAgeSeconds: 60 * 60 * 24 * 30, // <== 14 days + maxAgeSeconds: 60 * 60 * 24 * 30, // <== 30 days }, cacheableResponse: { statuses: [0, 200],