O'Reilly logo

HTML5 iPhone Web Application Development by Alvin Crespo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8. Offline Applications

In this chapter, we will cover the basics of offline application development. Specifically, we’ll discuss the application manifest, including the advantages and disadvantages, and see how we can handle offline interactions. Then we’ll jump into how localStorage and IndexedDB can be used to temporarily store data on the client side. The content in this chapter will be supplemented with basic examples that will help you get up and going quickly. So, let’s start out by covering how the application manifest is beneficial for us.

We will cover the following topics in this chapter:

  • The application manifest
  • Handling offline interactions
  • The localStorage and IndexedDB APIs

Application Cache

Application Cache, or otherwise known ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required