Skip to Main Content
Pro JavaScript for Web Apps
book

Pro JavaScript for Web Apps

by Adam Freeman
June 2012
Intermediate to advanced content levelIntermediate to advanced
278 pages
7h 37m
English
Apress
Content preview from Pro JavaScript for Web Apps

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

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Pro JavaScript Development: Coding, Capabilities, and Tooling

Pro JavaScript Development: Coding, Capabilities, and Tooling

Den Odell
JavaScript: Best Practice

JavaScript: Best Practice

James Kolce, Moritz Kroger, Ivan Curic, Samier Saeed, Jeff Mott, M. David Green, Craig Buckler

Publisher Resources

ISBN: 9781430244615Purchase book