datajs provides support for storing data in the browser such that it's available if the network connectivity is lost or if the browser is restarted.
There are three mechanisms currently supported:
- Local Storage, often referred to as DOM storage.
- IndexedDB, currently in experimental support.
- In-memory storage, useful as a fallback mechanism for browsers that don't support any of the newer APIs.
See also the
datajs store API
Cross Domain Requests