Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
If you’ve got a smartphone or tablet, you’re probably accessing the Web on the go, and with WiFi and cellular networks, you’re connected almost all the time. But what about those times when you’re not? Wouldn’t it be great if you could keep on using those great HTML5 web apps you’ve been building for yourself?
Well, now you can. Offline web applications are supported by all modern desktop and mobile browsers (with one exception: IE).
So how do you make your web application available offline? You create a cache manifest file that contains a list of all the files your app needs to work, and the browser will download all those files, and switch to the local files if and when your device goes offline. To tell your web page that it has a manifest file, you simply add the filename of the cache manifest file to your <html> tag, like this: