- From: Ben Kelly <notifications@github.com>
- Date: Thu, 30 Jun 2016 08:21:16 -0700
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc:
Received on Thursday, 30 June 2016 15:21:50 UTC
> 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. I think what they want is for each handler to be able to incrementally improve the Response. You still have an ordering problem, though. What if your compression handler runs first, and then their pull-from-cache handler runs second? Some kind of coordination is needed. --- 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-229692775
Received on Thursday, 30 June 2016 15:21:50 UTC