HTTP "Expires" header does not work in Chrome HTTP "Expires" header does not work in Chrome google-chrome google-chrome

HTTP "Expires" header does not work in Chrome


Be carefull when you are testing. I noticed that in Chrome version 20 if I hit F5 to reload the page then in the network panel I see new requests.Hoewer if I place the cursor to the title bar, after the current page url, and hit enter, I get resources from cache, whitch header was set to cache.

Also its better just use the max age. Max age and Expires is the same, but in max age you specify the duration.

See this:http://betterexplained.com/articles/how-to-optimize-your-site-with-http-caching/Method 3 and Method 4.


I had similar problem and I found out that if you make the request with a new chrome tab it will work.