I'm wondering if anyone has implemented Offline Web Applications from HTML5 in a WordPress blog?
When you write a manifest file, all files must be accounted for, thought you can specify the wildcard * in the NETWORK section. So, given how MANY files and dirs makeup a typical WordPress install, does anyone have guidance on which files/dirs should be cached, and which can be fetched from the network?
Here's what I figure I need in the CACHE (explicit) section:
- the theme I'm using (so wp-content/theme/theme-name & associate files)
- wp-content/uploads/ + everything inside
Here's what I'm thinking of leaving OUT of the cache (i.e being caught by the * in the NETWORK section):
- the wp-admin/ folder and all its content
I'm unsure whether to cache anything in the wp-includes/ folder or not.
The other problem I foresee is that since the uploads/ file will be changing as images are added, I am going to have to update my cache.manifest for each new piece of content -- unless I am ok with that images/video/whatever not caching.
Any thoughts on this from someone who's done it, or been thinking about doing it?