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
andIndexedDB
APIs