[whatwg/fetch] How are reloads mapped to cache modes? (#524)

We were starting to look at implementing this for service worker FetchEvent.request.cache. Does the spec map reloads like the following?

reload (Cache-Control: max-age=0)  -> no-cache
hard-reload (Cache-Control: no-cache) -> reload

In Chrome, "reload" would be F5, Ctrl+R, clicking the reload button, etc. "hard-reload" would be Ctrl+Shift+R.

Is getting "no-cache" cache mode from clicking the reload button intuitive to developers? @yutakahirano @jakearchibald 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/524

Received on Tuesday, 11 April 2017 05:24:11 UTC