- From: Domenic Denicola <notifications@github.com>
- Date: Thu, 30 Jun 2016 08:08:16 -0700
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc:
Received on Thursday, 30 June 2016 15:28:03 UTC
> The problem with the current importScripts() approach is that multiple fetch events that register have no guaranty regarding ordering and the first one of them that calls respondWith wins. This seems false? Like every event, the first-registered listener executes first. If you want to go first, just insert your importScripts at the top, and have your fetch handler call respondWith immediately. --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/slightlyoff/ServiceWorker/issues/921#issuecomment-229688232
Received on Thursday, 30 June 2016 15:28:03 UTC