How to disable lazy loading for specific tiddler

73 views
Skip to first unread message

ILYA Khlopotov

unread,
Mar 8, 2020, 12:05:38 PM3/8/20
to TiddlyWiki
I noticed a strange problem while developing a plugin. The plugin doesn't work correctly on nodejs if plugin displays some content via PageTemplate based on filter. Because the tiddlers of the plugin lazy loaded, Tiddlywiki has no way of knowing that filter need to be executed. Is there a special tag or something I can use to disable lazy loading for tiddlers of the plugin.

Best regards,
iilyak

Jeremy Ruston

unread,
Mar 8, 2020, 1:16:56 PM3/8/20
to tiddl...@googlegroups.com
Hi Ilya

I noticed a strange problem while developing a plugin. The plugin doesn't work correctly on nodejs if plugin displays some content via PageTemplate based on filter. Because the tiddlers of the plugin lazy loaded, Tiddlywiki has no way of knowing that filter need to be executed. Is there a special tag or something I can use to disable lazy loading for tiddlers of the plugin.

Up to v5.1.21, if the TW5 client running into the browser sees a tiddler without a text field then it will trigger a lazy load of that tiddler from the server.

So, the tiddler containing your plugin will not itself be lazily loaded because it has a text field. Neither will the constituent shadow tiddlers be lazily loaded.

Is it that the tiddlers selected by your filter are themselves subject to lazy loading?

Best wishes

Jeremy



Best regards,
iilyak


--
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 tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CAP2DrbTvk2sfWbDNMk6%3DPH78SkEG6vo7eAvRM3mOzLWv5qaUmA%40mail.gmail.com.

ILYA

unread,
Mar 11, 2020, 7:25:15 AM3/11/20
to tiddl...@googlegroups.com, Jeremy Ruston
Hi Jeremy,

Sorry for the long silence.


> Is it that the tiddlers selected by your filter are themselves subject to lazy loading?

In my use case plugin and the tiddlers selected by the filter are themselves subject to lazy loading. I hoped there is a special field (or something) which would tell the loader to load the tiddler from the sever even if text field is not present.

Best regards,
iilyak
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Jeremy Ruston

unread,
Mar 11, 2020, 1:37:11 PM3/11/20
to ILYA, tiddl...@googlegroups.com
Hi Ilya

In my use case plugin and the tiddlers selected by the filter are themselves subject to lazy loading. I hoped there is a special field (or something) which would tell the loader to load the tiddler from the sever even if text field is not present.

Things are changing in v5.1.22: there’s now a “_is_skinny” field to mark tiddlers that are skinny, making it much easier to avoid accidental triggers.

Best wishes

Jeremy.
Reply all
Reply to author
Forward
0 new messages