HTTP Cache Control max-age, must-revalidate

Posted by nyb on Stack Overflow See other posts from Stack Overflow or by nyb
Published on 2010-05-28T22:23:50Z Indexed on 2010/05/31 15:53 UTC
Read the original article Hit count: 389

Filed under:
|

I have a couple of queries related to Cache-Control.

If I specify Cache-Control "max-age=3600, must-revalidate" for a static html/js/images/css file, with Last Modified Header defined in HTTP header,

a. Does browser/proxy cache(liek Squid/Akamai) go all the way to orgin server to validate before max-age expires? Or will it serve content from cache till max-age expires?

b. After max-age expiry(that is expiry from cache), is there a IMS check or is content re-downloaded from origin server w/o IMS check?

© Stack Overflow or respective owner

Related posts about http

Related posts about cache-control