I have dynamic pages that I would like to make available offline. I'd like to use HTML5's application cache to do this. The problem is that I don't know all of the resources (JavaScript and CSS) for the page upfront as these parts are dynamic.
I have a manifest.appcache file that looks like this:
CACHE MANIFEST
#1330475607
CACHE:
/
But this seems to only cache the page's HTML and not the rest of the page's resources. Is there a way to do something like this?
If not, might it be possible to programmatically set the cache with JavaScript (I suppose I could loop through link and script tags)?