Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>When you F5/refresh in Chrome, Safari or IE8 all the GET resources are requested again, even if they've been cached.</p> <p>If you watch the request/response with the dev tools or Fiddler you'll see that the server responds with an HTTP 304 status and no content. This tells the browser that they don't need to download it again and that they can continue to use the cache.</p> <p>In Chrome's dev tools' Resource tab files refreshed like that will have a latency time, but a download time of 0ms.</p> <p>If you reload the page by leaving and returning you'll find that these cached files are not retrieved again and the server is not checked.</p> <p>This behaviour of F5/refresh for GET static resource is correct - it's FX and IE6 that are doing it wrong. It also helps with the confusing CTRL+F5 command that most users don't know about.</p> <p>You can't cache POST or pages that return a temporary HTTP redirect: </p> <p>POST changes data and should always prompt before being sent again, and its results are never cached. </p> <p>Redirects are handled at a low level in the HTTP stuff - below caching. Really it tells the browser to get the resource from somewhere else and while it can cache that it hasn't cached the redirect and needs to check again. </p> <p>You should be able to cache a 301 permanent redirect, but a 302 or 303 temporary redirects shouldn't be cached <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html" rel="nofollow noreferrer">according to the HTTP spec</a>.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload