chore: pwa adjustments

This commit is contained in:
2024-05-24 13:43:29 +02:00
parent 8aa23468b3
commit f0c02bf12e
+8
View File
@@ -7,6 +7,10 @@ export default defineConfig({
port: 5001,
open: true
},
preview: {
port: 4001,
open: true
},
publicDir: 'public',
plugins: [
vue(),
@@ -36,6 +40,10 @@ export default defineConfig({
cacheName: 'spythere-static-cache',
cacheableResponse: {
statuses: [0, 200]
},
expiration: {
maxEntries: 100,
maxAgeSeconds: 60 * 60 * 8
}
}
}