{"action":"created","issue":{"url":"https://api.github.com/repos/whatwg/fetch/issues/524","repository_url":"https://api.github.com/repos/whatwg/fetch","labels_url":"https://api.github.com/repos/whatwg/fetch/issues/524/labels{/name}","comments_url":"https://api.github.com/repos/whatwg/fetch/issues/524/comments","events_url":"https://api.github.com/repos/whatwg/fetch/issues/524/events","html_url":"https://github.com/whatwg/fetch/issues/524","id":220842589,"number":524,"title":"How are reloads mapped to cache modes?","user":{"login":"mattto","id":1782098,"avatar_url":"https://avatars1.githubusercontent.com/u/1782098?v=3","gravatar_id":"","url":"https://api.github.com/users/mattto","html_url":"https://github.com/mattto","followers_url":"https://api.github.com/users/mattto/followers","following_url":"https://api.github.com/users/mattto/following{/other_user}","gists_url":"https://api.github.com/users/mattto/gists{/gist_id}","starred_url":"https://api.github.com/users/mattto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattto/subscriptions","organizations_url":"https://api.github.com/users/mattto/orgs","repos_url":"https://api.github.com/users/mattto/repos","events_url":"https://api.github.com/users/mattto/events{/privacy}","received_events_url":"https://api.github.com/users/mattto/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2017-04-11T05:23:36Z","updated_at":"2017-04-17T06:19:59Z","closed_at":null,"body":"We were starting to look at implementing this for service worker FetchEvent.request.cache. Does the spec map reloads like the following?\r\n\r\nreload (Cache-Control: max-age=0)  -> no-cache\r\nhard-reload (Cache-Control: no-cache) -> reload\r\n\r\nIn Chrome, \"reload\" would be F5, Ctrl+R, clicking the reload button, etc. \"hard-reload\" would be Ctrl+Shift+R.\r\n\r\nIs getting \"no-cache\" cache mode from clicking the reload button intuitive to developers? @yutakahirano @jakearchibald "},"comment":{"url":"https://api.github.com/repos/whatwg/fetch/issues/comments/294413879","html_url":"https://github.com/whatwg/fetch/issues/524#issuecomment-294413879","issue_url":"https://api.github.com/repos/whatwg/fetch/issues/524","id":294413879,"user":{"login":"mattto","id":1782098,"avatar_url":"https://avatars1.githubusercontent.com/u/1782098?v=3","gravatar_id":"","url":"https://api.github.com/users/mattto","html_url":"https://github.com/mattto","followers_url":"https://api.github.com/users/mattto/followers","following_url":"https://api.github.com/users/mattto/following{/other_user}","gists_url":"https://api.github.com/users/mattto/gists{/gist_id}","starred_url":"https://api.github.com/users/mattto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattto/subscriptions","organizations_url":"https://api.github.com/users/mattto/orgs","repos_url":"https://api.github.com/users/mattto/repos","events_url":"https://api.github.com/users/mattto/events{/privacy}","received_events_url":"https://api.github.com/users/mattto/received_events","type":"User","site_admin":false},"created_at":"2017-04-17T06:19:59Z","updated_at":"2017-04-17T06:19:59Z","body":"Just for context, the spec dropped FetchEvent#isReload in favor of Request#cache:\r\nhttps://github.com/w3c/ServiceWorker/issues/873\r\n\r\nSo the idea was we didn't need a navigation type in addition to cache mode. Maybe that decision should be revisited, if developers want to know whether a navigation came from a reload and we won't spec what cache mode browsers should use when the reload button is clicked. @jakearchibald "}}
{"actor":{"display_login":"mattto"}}