- From: Ro Savage <notifications@github.com>
- Date: Tue, 27 Jun 2017 06:53:31 -0700
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 27 June 2017 13:54:02 UTC
I'm all for unregistering the service worker to avoid issues I've encountered in [Create React App](https://github.com/facebookincubator/create-react-app). Beyond localhost issues described by @jeffposnick. What if I create an app that has a service-worker.js, deploy it on `something.com`. Then later on I released a new app without service workers on `something.com` As it stands my new app, even though it has never touched a service worker would have to have something to deregister old service workers, or else every user would always see the old version of the app. If the server responds with a `404` that is quite an obvious error of not finding a file and I have never encountered a server responding with 404 when it was actually a 500 error something.. Even if it does, worst case someone loses access to the site temporarily. On the other hand, worst case of ignoring 404 is someone is stuck forever seeing the incorrect webapp. -- 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/204#issuecomment-311365057
Received on Tuesday, 27 June 2017 13:54:02 UTC