Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
This chapter shows you various means for taking your application offline and adding storage to your mobile web app.
How to allow your sites to work in offline mode (without a network).
http://www.learnhtml5book.com/chapter12/manifest.php
How to set and retrieve cookies using JavaScript.
http://www.learnhtml5book.com/chapter12/cookies.php
How to set and retrieve items from LocalStorage.
http://www.learnhtml5book.com/chapter12/local.php
How to set and retrieve items from SessionStorage.
http://www.learnhtml5book.com/chapter12/session.php
In this chapter I decided to use SessionStorage to improve the web application's performance.