O'Reilly logo

Pro JavaScript for Web Apps by Adam Freeman

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

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 ...

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