dont cache csound

This commit is contained in:
Felix Roos
2026-10-12 18:29:51 +02:00
parent ce4ef629bf
commit 0d4816804e
+2 -1
View File
@@ -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],