Re: [slightlyoff/ServiceWorker] should FetchEvent.request.cache reflect non-fetch browser cache controls? (#875)

I'm not sure whether @annevk's comment and @wanderview's comment are on the same page. To me, what matters in this issue is just to set request's cache mode to a right value for the given request context. E.g., set it to no-cache for refresh in general. That cache mode will be observed only when the request hits the network layer bypassing SW. (If the request hits the network layer and the dev set the optional request.cache, that should override whatever the default behavior.)

For specifying what cache mode is used for refresh, etc., I guess we defer to fetch. But what's discussed in the f2f was that "Browsers do different things on refresh, that's ok". So, we may just close this issue?

---
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/875#issuecomment-236811416

Received on Tuesday, 2 August 2016 06:22:42 UTC