Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
In this chapter, you learned two ways to store user data on the client: key/value storage, and the client-side SQL database. The client-side database in particular opens up a world of possibilities for web-based application developers.
The only thing stopping us from running this example application in offline mode is that we have to initially connect to the web server each time the app is launched to download the HTML and related resources. Wouldn’t it be schweet if we could just cache all that stuff locally on the device?