I have an HTML5 app that uses offline caching with a manifest file. The only way that triggers the updating of cache is a change in the manifest file on server. I am looking for a programmatic way of expiring the cache and enforcing update.
I went through the spec, looking for some method on window.applicationCache to expire the cache. But didn't find any. There is an update() method, but it will update only if cache is expired (i.e. there is change in manifest file). So that doesn't help.
Anyone knows a programmatic way of expiring the application cache and forcing download?
404for the old manifest file. You should use a manifest filename that contains a version string so that you have the ability to expire old versions of your manifest. - meagar