How do Expires headers and cache manifest rules work together?

Posted by Robert K on Pro Webmasters See other posts from Pro Webmasters or by Robert K
Published on 2013-04-03T18:50:32Z Indexed on 2013/11/09 4:19 UTC
Read the original article Hit count: 284

Filed under:
|
|

I find the W3C's official Offline Web Applications specification to be rather vague about how the cache manifest interacts with headers such as ETag, Expires, or Pragma on cached assets. I know that the manifest should be checked with each request so that the browser knows when to check the other assets for updates. But because the specification doesn't define how the cache manifest interacts with normal cache instructions, I can't predict precisely how the browser will react.

Will assets with a future expiration date be refreshed (no matter the cache headers) when the cache manifest is updated? Or, will those assets obey the normal caching rules?

Which caching mechanism, HTTP cache versus cache manifest, will take precedence, and when?

© Pro Webmasters or respective owner

Related posts about html5

Related posts about cache