Skip to content
Craig Cook edited this page Jan 8, 2014 · 3 revisions

localStorage will be used to cache tiddlers locally. When offline tiddlers will still be saved locally and pushed to the server when a connection is available.

Some attributes to help with understanding if a tiddler needs to be pushed to the server:

  • tiddler.revision when creating locally this won't exist so can do a create
  • tiddler.created
  • tiddler.modified if it's different from the server then a merge may be required
  • tiddler.updated proposed local field to signify that it was modified
  • navigator.onLine checks if the browser is online

Clone this wiki locally