Friendly reminder to bake a kill switch into your service worker code before shipping to production. I've used mine twice now 

-
-
-
-
Replying to @AdamRackis @danbucholtz
And how do you enable this kill switch if you can't get bypass SW to get uncached code? Curious.
3 replies 0 retweets 2 likes -
Replying to @geekykaran @danbucholtz
Just put that code in your application somewhere. If it runs, all service workers will get unregistered.
1 reply 1 retweet 1 like -
Better: have your SW hit a URL in the background. If a counter increments, unregister. Planning on doing this by default for Ember.
2 replies 2 retweets 28 likes -
Ahhh, this would need server-side support as well right?
3 replies 0 retweets 0 likes
Just the ability to upload a file with a number in it somewhere.
1:21 PM - 26 Oct 2017
0 replies
0 retweets
2 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.