Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The logic Firefox uses to decide whether to make a conditional GET given a cached response is like so:</p> <ol> <li>If there is a relevant Vary header, revalidate.</li> <li>If this request is supposed to be force-loaded from cache, do not revalidate.</li> <li>If this request has the "always validate" flag, revalidate.</li> <li>If this request has the "never validate" flag then revalidate only if this is a no-store response or SSL no-cache response.</li> <li>If the response status code is not cacheable or the response is no-cache or no-store or if the expiration time is before the Date of the response, revalidate.</li> <li>If there is a query paramater and the response does not have an explicit Expires or max-age, revalidate.</li> <li>If the response expiration time is in the past, revalidate (unless the "only revalidate once per session user preference is set").</li> </ol> <p>So for your case, there should not be a conditional GET, assuming you actually set expires or max-age information on your 200 response.</p> <p>That said, some of the tools that try to trace HTTP information for Firefox actually affect the revalidation behavior, so you may be running into that.</p> <p>I recommend creating a log following the steps in <a href="https://developer.mozilla.org/en/HTTP_Logging" rel="noreferrer">https://developer.mozilla.org/en/HTTP_Logging</a> which will incidentally tell you exactly why a conditional GET is being done, if you can find the right part of the log (search for "nsHttpChannel::CheckCache enter" for the logging from the function that implements the above logic).</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

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