Mobile app version of vmapp.org
Login or Join
Gail5422790

: How do Expires headers and cache manifest rules work together? I find the W3C's official Offline Web Applications specification to be rather vague about how the cache manifest interacts with headers

@Gail5422790

Posted in: #Cache #Html5 #HttpHeaders

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?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Gail5422790

1 Comments

Sorted by latest first Latest Oldest Best

 

@Goswami781

I know Steve Souders has done a video that deals with problems, inconsistencies, and solutions related to this, but I can't recall which one (most of his work is related to performance, and thus often cache, and I recall a detailed discussion of Offline App Cache in one of them). It might be this YouTube video or it might not but between the video and his blog you should be able to find info on this.

I also learned a lot about this from the HTML5 Boilerplate Docs on server configs. Your knowledge about this is way beyond mine but hopefully you can review these things and find what you're looking for.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme