Demonstrates an offline mode for web apps
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Offline web app example

This example demonstrates the use of the following web browser capabilities to support an offline mode for web apps.

  • Online/offline status is used to decide whether to send content to a server API or store it locally
  • IndexedDB is used to locally store data temporarily
  • Service workers are used to cache assets