An application cache is a set of cached resources consisting of:
Master entries
These are documents that were added to the cache because a browsing context was navigated to that document and the document indicated that this was its cache, using the manifest attribute.
Explicit entries
These are the resources that were listed in the cache's manifest in an
explicit section (CACHE).
Fallback entries
These are the resources that were listed in the cache's manifest in a fallback section.
The resource that declares the manifest (with the manifest attribute) will always get taken from the cache, whether it is listed in the cache or not, even if it is listed in an online whitelist namespace.
This means that your HTML that includes the manifest file will be always a master entry which is cached and accessed from the cache even the client is online.
Let's face it, this is a pain in the neck in same cases.
There is a simple workaround
1. create an OTHER HTML that will include the manifest file
2. from the ORIGINAL HTML remove the manifest include and create an iframe that includes the OTHER HTML
In this case the master entry will be this OTHER HTML, which does not affect whitelisting the ORIGINAL HTML.
I'd like to emphases that this is just a workaround and i'd like to have a better solution.
You can also follow the related whatwg discussion.
Showing posts with label html5. Show all posts
Showing posts with label html5. Show all posts
Thursday, June 30, 2011
Tuesday, December 21, 2010
HTML5 heading elements
"In HTML 4, the only way to create a document outline was with the <h1>–<h6> elements. If you only wanted one root node in your outline, you had to limit yourself to one <h1> in your markup.
But the HTML5 specification defines an algorithm for generating a document outline that incorporates the new semantic elements in HTML5.
The HTML5 algorithm says that an <article> element creates a new section, that is, a new node in the document outline. And in HTML5, each section can have its own <h1> element."
more of Pilgrimさん's Dive into HTML5
or check the outline of your document with the HTML5 Outliner
Subscribe to:
Posts (Atom)