Hi Tony

> Another Question in relation to this what about leveraging pouchDB as 
> noteself has, which can I believe remove the volatile nature of the local 
> storage you describe? this is without needing to provide the external couchDB 
> component thus no configuration settings.

I'm afraid PouchDB uses the same local storage mechanism, and is subject to 
exactly the same restrictions if it's not connected to a server.

Best wishes

Jeremy.

> 
> Regards
> Tony
> 
>> On Friday, February 8, 2019 at 9:11:47 AM UTC+11, Jeremy Ruston wrote:
>> Further to Mat’s discovery of the new mathematics operators in v5.1.20, 
>> there’s another newly added feature that has also been discussed for quite a 
>> long time: a plugin that lets TiddlyWiki save and load tiddlers from 
>> browser’s built in “local storage”.
>> 
>> At startup, the plugin reads tiddlers from local storage. Any tiddlers that 
>> are identical to those built into the file are deleted from local storage. 
>> Once the wiki is up and running, any tiddler changes are written straight to 
>> local storage.
>> 
>> You can install it using the plugin library in a v5.1.20-prelease wiki, or 
>> there’s an example here that has it pre-installed:
>> 
>> https://tiddlywiki.com/prerelease/editions/full/#%24%3A%2Fplugins%2Ftiddlywiki%2Fbrowser-storage
>> 
>> You’ll see that even though the wiki warns you when you refresh in the usual 
>> way, once you reload it any changes you’ve made will reappear.
>> 
>> Browser local storage is not a panacea for TiddlyWiki:
>> 
>>      • Browsers limit the amount of local storage available to a page, 
>> typically to 5 or 10MB
>>      • Keeping personal data in browser local storage can lead to unexpected 
>> privacy violations
>>      • Browsers reserve the right to without warning delete data stored in 
>> local storage at any time
>>      • Browsers tie local storage to a URL which can lead to problems if you 
>> move a wiki to a URL previously occupied by a different wiki
>> 
>> The plugin isn’t quite finished; I want to add a more visible indicator for 
>> when data is stored in local storage, and a way to delete any stored data 
>> and disable it for the future.
>> 
>> As usual, questions and comments welcome,
>> 
>> Best wishes
>> 
>> Jeremy.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/e28a6f28-0a73-4174-a070-e7fde47ba8cd%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/F327351C-6AF3-41C1-8B44-BD1B1D797054%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to