- From: Matt Falkenhagen <notifications@github.com>
- Date: Wed, 27 Jan 2016 20:07:45 -0800
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Thursday, 28 January 2016 04:08:09 UTC
Cool! Just to make sure, initial execution of the script refers to the very first time the SW runs (before it's installed) or every time the SW is run? The current spec seems to observe event types every time in Run Service Worker, which wouldn't allow for this optimization. We want to persist a bit on the installed script indicating whether there's a fetch event handler. So next time you go to the website, we can decide whether the SW needs to run. --- Reply to this email directly or view it on GitHub: https://github.com/slightlyoff/ServiceWorker/issues/718#issuecomment-175959695
Received on Thursday, 28 January 2016 04:08:09 UTC