For my first xdk project, I'm essaying a conventional, web-site newsletter app that I would like to apply live content updates in future and enable optional caching of external resources for off-line borwsing.
I've linked to images and fonts hosted externally on a conventional web server, and this works fine in my test builds.
I'm a little unclear of how caching might work in an xdk-generated app. Is there an 'auto-magic' caching mechanism (such as conventional browsers)?
The "addToMediaCacheExt Method" looks potentially a bit kludgy (the xdk api is unfamiliar to me). For example, how would you handle caching resources that were already downloaded online just by opening the app, rather than requiring a manual re-download for caching purposes? Could this be achieved per directory (including subdirectories), rather than on a per file basis, as the documentation seems to imply?
If anyone who can provide insights or point to documentation, tutorials etc. on this topic, it would be greatly appreciated!