Re: [slightlyoff/ServiceWorker] Never fail for navigation requests (#892)

> That's a maximum, if you've set your SW to cache beyond 24 hours. Otherwise it'll update per navigation.

We do not set any cache headers to SW file. And it doesn't update in Firefox.
Fail means rejected promise as I wrote in parentheses.

Thing is, website can stuck forever if I do this:
```js
e.responseWith(caches.match(...));
```
or just have any JS error in next `then()`. 

Of course I do not mean that browser should perform another request if `e.respondWith()` was cased with `Response`/`Promise<Response>`.

---
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/892#issuecomment-217632441

Received on Saturday, 7 May 2016 12:28:16 UTC