-
Notifications
You must be signed in to change notification settings - Fork 1
Local Storage
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.revisionwhen creating locally this won't exist so can do a create tiddler.created-
tiddler.modifiedif it's different from the server then a merge may be required -
tiddler.updatedproposed local field to signify that it was modified -
navigator.onLinechecks if the browser is online