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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.