Service Worker not updating in production or staging - Maybe not Cloudflare??
Not sure if this is Cloudflare thing??.
Browser thing??
But I update my service worker version to clear caches in users browsers and reset the worker. However... in dev tools when you look at the sw code it's showing an old version.
For some reason the code is getting updated in the app but my service worker is not.
This is happening in Chrome and Firefox. Safari picked up the change and registered the new SW successfully.
Any ideas? Sounds like a browser thing or a caching thing in the browser or build maybe?? But I wanted to start here.
0 Replies