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:
@@ -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)$/'
|
||||
|
||||
Reference in New Issue
Block a user