From 785ad664de33781fc8f06b1c93d5e2a2cb4f80cc Mon Sep 17 00:00:00 2001 From: Jermolene Date: Sun, 1 May 2016 14:19:46 +0100 Subject: [PATCH] Add a link to @malgam's sandbox --- .../resources/_Mal's_Sandbox__by_Mal.tid | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 editions/tw5.com/tiddlers/community/resources/_Mal's_Sandbox__by_Mal.tid diff --git a/editions/tw5.com/tiddlers/community/resources/_Mal's_Sandbox__by_Mal.tid b/editions/tw5.com/tiddlers/community/resources/_Mal's_Sandbox__by_Mal.tid new file mode 100644 index 000000000..189b90b16 --- /dev/null +++ b/editions/tw5.com/tiddlers/community/resources/_Mal's_Sandbox__by_Mal.tid @@ -0,0 +1,20 @@ +created: 20160501131111865 +modified: 20160501131900615 +tags: Resources +title: "Mal's Sandbox" by Mal +type: text/vnd.tiddlywiki +url: http://malsandbox.tiddlyspot.com + +A collection of extensions by [[@malgam|https://github.com/malgam]] + +{{!!url}} + +<<< +The "loadnew" plugin provides the JavaScript module $:/plugins/malgam/loadnew/loadnew.js that implements an incremental load command for Tiddlywiki 5. + +The javascript code is based on the built-in module $:/core/modules/commands/load.js that loads tiddlers from a Tiddlywiki file into a node.js Tiddlywiki instance. This command loads all non-system tiddlers, irrespective of whether they have been modified since last loaded. As a result, all tiddlers in the node.js tiddlers folder will end up with a new modification date. + +In contrast, the loadnew command only loads tiddlers that either don't already exist in the tiddlers folder, or have a newer modified date than the existing tiddler. + +With a backup strategy that uses a file system snapshot process to preserve historical versions of tiddlers, the loadnew command minimises the sizes of the resulting snapshots. +<<<