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:
- Online/offline status to determine whether to post content to an API server, or store it locally
- IndexedDB to store data locally
- Service Workers to cache assets for use when offline