Is the Entire Wiki in Browser Memory With node.js?

51 views
Skip to first unread message

Kevin Kleinfelter

unread,
May 10, 2018, 10:57:19 AM5/10/18
to TiddlyWiki
If I'm using the node.js edition of Tiddlywiki, it is storing the tiddlers in individual files on the server's file system. Is it loading only the open tiddlers into the browser, or is it loading every tiddler in the wiki into the browser?

i.e. If I have a 1,000 tiddler wiki served by node.js and I open only one tiddler with it, do I have 1 tiddler in browser memory or 1,000?

Thanks,
-kevin

Mark S.

unread,
May 10, 2018, 11:02:53 AM5/10/18
to TiddlyWiki
Are you using lazy loading? If not, my understanding is that everything gets loaded into memory just like with a file-based TW. With lazy loading on, the tiddlers get loaded, but not their text contents.

See https://tiddlywiki.com/#LazyLoading

-- Mark
Reply all
Reply to author
Forward
0 new messages