What is the difference between HTTP status code 200 (cache) vs status code 304?

The items with code “200 (cache)” were fulfilled directly from your browser cache, meaning that the original requests for the items were returned with headers indicating that the browser could cache them (e.g. future-dated Expires or Cache-Control: max-age headers), and that at the time you triggered the new request, those cached objects were still stored … Read more

Difference between no-cache and must-revalidate for Cache-Control?

I believe that must-revalidate means : Once the cache expires, refuse to return stale responses to the user even if they say that stale responses are acceptable. Whereas no-cache implies : must-revalidate plus the fact the response becomes stale right away. If a response is cacheable for 10 seconds, then must-revalidate kicks in after 10 … Read more

What’s the difference between Cache-Control: max-age=0 and no-cache?

I had this same question, and found some info in my searches (your question came up as one of the results). Here’s what I determined… There are two sides to the Cache-Control header. One side is where it can be sent by the web server (aka. “origin server”). The other side is where it can … Read more