I'm writing a HTML5 application that uses "Application Cache with manifest".
However, while I'm developing I want to turn it off.
I tried removing the manifest attribute from the tag and switching everything to network in the manifest file.
Although it did update on the first update, all subsequence updates are still read from the cache rather than the server.
I can see that the HTML file has updated and there is no longer a manifest attribute on the tag, yet it still loads from the cache.
I can't seem to figure out how to turn it off once you've set it, so here's my question:
Is there a way to turn off "Application Cache with manifest" in Google Chrome?
In Chrome, go to Under the bonnet -> Content Settings -> Cookies -> Show cookies and other site data, application caches should show up under the site data.
In Firefox go to Advanced -> Network, sites with application caches are listed in a box at the bottom.
There's no way completely to completely remove or expire an application cache from the server side at present. The best you can do is explicitly tell the browser to remove all the cached files - a manifest with just a network section should delete all the other files, but the file with the manifest reference will itself always be cached.
--edit
This answer is no longer entirely correct. Currently the standard states:
If fetching the manifest fails due to a 404 or 410 response or equivalent...Mark cache group as obsolete. This cache group no longer exists for any purpose other than the processing of Document objects already associated with an application cache in the cache group.
That is: deleting the manifest file should cause the appcache to be deleted the next time the browser attempts to update