Reputation: 2715
On my website, www.johnshammas.com, it works perfectly in all browsers. Except...anyone that has viewed the previous version on Chrome is stuck with that version until they empty their cache. What would cause the website to return a "not modified" header when in reality it has been modified heavily?
Upvotes: 2
Views: 2341
Reputation: 83235
If a 304 Not Modified
response was returned, it was because earlier the server sent a response with an ETag
or a Last-Modified
header.
Later, the browser sent this value as an ETag
or If-Modified-Since
header. The server recognized the ETag or date such that the resource had not changed since the browser last requested it.
So it returned a 304
.
If you are not familiar with these or other cache headers, I recommend doing some research on them. There are many great tutorials on what these are and how to use them.
Upvotes: 2
Reputation: 11887
A few possible solutions go like this...
No 1 (Permanent)
No 2 (Semi-Permanent)
No 3 (One-Time)
No 4 (One-Time)
Upvotes: 0