Re: [ServiceWorker] A header/something to kill SWs (#614)

If the motivation of the kill-switch is a sure-fire way to immediately shutdown SW in an emergency (say you roll out a respondWith('hello world') SW), these don't seem sufficient yet:

- unregister({immediate: true}) won't be run (your page is just 'hello world')
- HTTP status 410 on the script URL could take 24 hours before it's fixed

But maybe 24 hours is the best guarantee the SW spec should provide? Sites that are worried can set no-cache or max-age.

---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/614#issuecomment-75507678

Received on Monday, 23 February 2015 08:56:20 UTC