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

> I know that browsers has to update SW after 24 hours anyway,

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

What does failure mean in this situation? A rejected promise? A never-resolving promise? Resolving with a blank response? Resolving with a 404 response? etc etc

My first reaction is that we shouldn't do this, just as we don't reload a page without JavaScript if a JavaScript error occurs.

---
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-217632067

Received on Saturday, 7 May 2016 12:17:29 UTC