This is a nice article about offline APPs: http://labs.ft.com/2012/08/basic-offline-html5-web-app/
The guy caches the jQuery file, downloads all resources (.css and .js) and stores them in the localStorage. The app repeats the process every time if the user is online (getting the new version) and uses the localStorage resources when offline.
This is a nice article about offline APPs: http://labs.ft.com/2012/08/basic-offline-html5-web-app/ The guy caches the jQuery file, downloads all resources (.css and .js) and stores them in the localStorage. The app repeats the process every time if the user is online (getting the new version) and uses the localStorage resources when offline.