What happens if you don't set the cache-control
header? Does HTTP specify a default behaviour that clients should follow or is it up to the clients to decide?
In Chrome, I have seen some Javascript requests that have no cache-control
headers showing up as 200 (from disk cache)
. Is Chrome optimizing this?
In IE, I have seen it show up as a 304 (not modified)
.
How do I understand this better?