- From: Jake Archibald <notifications@github.com>
- Date: Thu, 15 Jan 2015 05:30:59 -0800
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Thursday, 15 January 2015 13:31:27 UTC
> In the case of 304 - Not Modified status code responses, I do not want service worker to interrupt the request and tell what the browser should do I don't really understand this. You want to avoid the SW based on something in the response? Do you mean: * Make request without ServiceWorker * Wait for response * If response has status 304, get response from the http cache and abort these steps * Call the SW's fetch event… Given that the SW may also make a network request, this feels potentially a lot slower. --- Reply to this email directly or view it on GitHub: https://github.com/slightlyoff/ServiceWorker/issues/598#issuecomment-70085352
Received on Thursday, 15 January 2015 13:31:27 UTC