Offline web apps

I was doing some work with a mobile web application that had to continue to operate in a disconnected scenario, as users may intermittently go in and out of areas with mobile network reception.

Adding offline support was reasonably straightforward in web browsers that support:

Example code available on GitHub.