Add workbox clear_cache: true for cache cleanup on SW update

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Serreau Jovann
2026-03-20 21:02:30 +01:00
parent a9e98faf39
commit 5b3d9f96ab

View File

@@ -44,6 +44,7 @@ pwa:
serviceworker:
src: "sw.js"
workbox:
clear_cache: true
asset_cache:
enabled: true
regex: '/\.(css|js|json|xml|txt|map|ico|png|jpe?g|gif|svg|webp|bmp)$/'