- From: Jake Archibald <notifications@github.com>
- Date: Fri, 23 Oct 2015 08:05:12 -0700
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Friday, 23 October 2015 15:05:40 UTC
Undefined is returned to `respondWith` if all of the following is true: * The original `fetch(event.request)` failed * There's no match in the cache * The request does not have `text/html` in its `Accept` header (this is sniffing for a navigation-like request) Returning undefined seems reasonable here, and should be treated as a network failure. --- Reply to this email directly or view it on GitHub: https://github.com/slightlyoff/ServiceWorker/issues/766#issuecomment-150601298
Received on Friday, 23 October 2015 15:05:40 UTC