C H A P T E R  5

Creating Offline Web Apps

The HTML5 specification includes support for the Application Cache, which is used to create web applications that are available to users even when no network connection is available. This is ideal if your users need to work offline or in environments where connectivity is constrained (such as on an airplane, for example).

As with all of the more complex HTML5 features, using the application cache isn’t entirely smooth sailing. There are some differences in implementations between browsers and some oddities that you need to be aware of. In this chapter, I’ll show you how to create an effective offline web application and how to avoid various pitfalls.

Caution The browser support for offline storage ...

Get Pro JavaScript for Web Apps now with O’Reilly online learning.

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