Anthony Graglia
Anthony Graglia

Reputation: 5435

HTML5 application cache updating solution

I may get some heat for this question because there are a lot out there already.

BUT... Every question has a different answer and no finite answer seems to be solid.

SO THE QUESTION... If I update a file which is reference in the application cache manifest for an offline available application, how can i force the update of the manifest and the offline cache without changing the manifest?

I hope this is clear. To show that I have done some research:

How to properly invalidate an HTML5 Cache Manifest for online/offline web apps?

https://stackoverflow.com/a/8211563/491044

Updating the cache This requires a change to the manifest though...

Thank you all.

Upvotes: 0

Views: 846

Answers (1)

robertc
robertc

Reputation: 75707

You can't. You must update the manifest file. Be careful to set an immediate expiry header on your manifest file so that the browser recognizes there's been an update to it.

Upvotes: 2

Related Questions