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

Quick and dirty testing:

## Safari

Upon a "normal" reload, will only request HTML (without conditionals) the first time; hitting reload again refreshes HTML/CSS/JS/IMG with conditionals and `CC: max-age=0` on all but HTML.

No apparent way to do a hard reload in Safari.

## Safari TP

Upon a "normal" reload, same as Safari, although it seems to skip the first case sometimes.

Upon a "hard" reload ("reload from origin", new option), requests HTML/CSS/JS/IMG, the latter three conditional with `CC: no-cache`.

## Firefox Nightly

Upon a "normal" reload, requests HTML/CSS/JS/IMG conditionally, with `CC: max-age=0`.

Upon a "hard" reload, requests HTML/CSS/JS/IMG unconditionally, with `CC: no-cache`.

## Chrome Canary

Upon a "normal" reload, only requests HTML, conditionally with `CC: max-age=0`.

Upon a "hard" reload, requests HTML conditionally with `CC: max-age=0`, JS/CSS/IMG with `CC: no-cache`.

## Edge

Upon a "normal" reload, requests HTML/CSS/JS/IMG conditionally, with no `Cache-Control` request headers.

(not sure how to do a hard reload in Edge)



-- 
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#issuecomment-293783472

Received on Thursday, 13 April 2017 05:14:12 UTC