chore: enhance PWA cache invalidation logic

This commit is contained in:
2026-02-10 17:35:05 +01:00
parent 892ee52efb
commit be82e873cf
2 changed files with 10 additions and 1 deletions

View File

@@ -12,6 +12,11 @@ export default defineConfig({
VitePWA({
registerType: 'autoUpdate',
injectRegister: 'auto',
workbox: {
cleanupOutdatedCaches: true,
skipWaiting: true,
clientsClaim: true,
},
devOptions: {
enabled: true
},