You are previewing Introducing HTML5.

Introducing HTML5

Cover of Introducing HTML5 by Remy Sharp... Published by New Riders
O'Reilly logo

Chapter 7 Offline

Remy Sharp

HOW MANY TIMES have I been working on a train, desperately trying to get a 3G connection with my cheap dongle, and failed to navigate the web application I was using because I’ve just traveled through a tunnel (and thus lost all connectivity)? A lot, that’s how many. Computing either with no Internet or with a particularly choppy connection usually means mobile computing, but it can also mean you just want to work offline. Equally, the user may not have chosen to go offline. As we become more mobile with our computers, being able to continue to use a website outside of reception becomes more and more important.

We’re used to creating web apps that rely absolutely on the Web. Our websites run in browsers, which are ...

The best content for your career. Discover unlimited learning on demand for around $1/day.