Open tacman opened 2 months ago
1.1.x
Changes to config/packages/pwa.yaml are not reflected when refreshing /sw.js unless the cache is manually cleared.
go to /sw.js change a regex or something refresh /sw.js (no changes) refresh again (changes shown)
I might be because sw.js is itself cached with a cacheFirst strategy, so the first time it's cached.
No response
Normally, the service worker is not served by the cacheFirst rule. There is an option to enable/disable the browser cache:https://pwa.spomky-labs.com/the-service-worker/configuration#cache
Version(s) affected
1.1.x
Description
Changes to config/packages/pwa.yaml are not reflected when refreshing /sw.js unless the cache is manually cleared.
How to reproduce
go to /sw.js change a regex or something refresh /sw.js (no changes) refresh again (changes shown)
Possible Solution
I might be because sw.js is itself cached with a cacheFirst strategy, so the first time it's cached.
Additional Context
No response