Chapter 23Offline Apps: Application Cache

Application Cache―“AppCache” for short―provides a way to save the assets of an application locally so that they can be used without an internet connection. It’s especially well-suited to “single-page” applications that are JavaScript-driven and use local data stores such as localStorage and IndexedDB.

AppCache consists of two parts: the plain text file known as a manifest, and a DOM interface for scripting and help managing updates. By the end of this chapter, you’ll know how to write a cache manifest file, how to manage updates, and some of the aspects to watch out for when using this API.

Note: AppCache in IE

Application Cache is not supported in Internet Explorer 9 or below. You’ll need to use version ...

Get Jump Start HTML5 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.