O'Reilly logo

Learning Firefox OS Application Development by Tanay Pant

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

Making hosted apps work offline with AppCache

Wouldn't it be great if we didn't face network problems like the one we faced in the previous chapter? Then, for simple applications that do not use a data connection or privileged Web APIs, we could simply use hosted variants for distribution of without going through the Firefox Marketplace. There's a solution for this problem called AppCache. Using AppCache, we can make our applications work offline. The full form of AppCache is Application Cache and with the help of this, after the first time the application is loaded, no internet connection is required for the working of the application.

Application Cache is a component of HTML5 and is really very easy to implement. Implementing AppCache is as simple ...

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