- From: TomPradat <notifications@github.com>
- Date: Tue, 30 Oct 2018 09:53:25 -0700
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 30 October 2018 16:53:46 UTC
I don't really understand why we have this in the spec. This causes trouble when redirection websites to new urls. If you want to redirect some old-website to new-website, you'd think you just need to 301 redirect from old-website to new-website. The problem is that doing so the service-worker won't update and serve the cached content. The only solution found for now is to redirect everything from old-website except /service-worker.js that serves a custom service-worker that unregister the current service-worker. Is there any other way to tackle the problem ? -- 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/1366
Received on Tuesday, 30 October 2018 16:53:46 UTC