Tell me more ×  I have a web app (sencha/phonegap) that includes
a feature allowing users to click on buttons that link to
Wikipedia articles. This obviously works fine if the device has
internet access, but I get numerous requests to make the app
work when the app is offline too. To accomplish this, I'd like
to give the user the option to download the linked
articles/webpages for offline access. When the device does not
have internet access, the app would instead display the saved
version (which might be stale/out-of-date, but is better than
nothing). What are possible ways to accomplish this task?  My
first thought was to somehow use the html manifest to cache the
pages in the phone's browser, which sounds possible on the
Android browser, but iOS apparently has a 5MB browser cache
limit - too small.  My next thought was to save the needed html
& associated files and bundle them up inside the app. But this
seems a rather cumbersome approach, the app becomes much larger
than it needs to be, and the webpages a