I am experimenting the HTML5 appCache feature as our web app uses a lot of image resources. Also most pages are not static, but dynamic pages based on Django.
The problem is that when appCache is used for a page (more like a RESTFUL url), it will automatically download this page, but it seems there is no way to force invalidate this page when there are content updates on this page without changing the manifest file on the server side.
My question is, does this mean I can't use appcache on any dynamic pages? if not, how do I do it?
Manifest files in HTML5 aren't intended to handle dynamically changing resources. It's purpose is common and constant assets used application-wide: things like CSS, JavaScript, and interface elements (icons, buttons, logos, backgrounds, etc) that make up the look and feel of the application (even if not used on the current view). This allows the common assets to be prefetched and cached, so that each view only has to load it's individualized content.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With