Re: [w3c/ServiceWorker] Old React.JS App with sw.js never ditches and switches to new Svelte.JS App with service-worker.js (#1578)

A self-destructing service worker at the same URL as the old one will do the trick. You may want to get it to reload all clients, so they go to the network rather than the old service worker.

You might have more luck if you avoid changing the URL of the service worker. Details: https://developers.google.com/web/fundamentals/primers/service-workers/lifecycle

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/1578#issuecomment-816417035

Received on Friday, 9 April 2021 05:26:09 UTC