[tw5] Re: Attachment performance with "Folders"

2019-04-17 Thread 'Mark S.' via TiddlyWiki
Somehow I assumed it was using Jeremy's code as a basis, and so would use 
the same settings for --listen.

If it could use lazy-loading, then you effectively no longer have to worry 
about externalizing images (except for image-intensive apps like 
photo-galleries).

Thanks!
-- Mark

On Wednesday, April 17, 2019 at 12:58:25 PM UTC-7, Jed Carty wrote:
>
> Mark,
>
> I don't think that would work, but I haven't every tried. I haven't put 
> anything in the server to handle lazy loading.
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/76ab9552-01d7-466f-9ad7-df1c29ad0cb3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Attachment performance with "Folders"

2019-04-17 Thread Jed Carty
Mark,

I don't think that would work, but I haven't every tried. I haven't put 
anything in the server to handle lazy loading.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/39937a8c-b47b-4636-892a-03ad2b7b9da6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Attachment performance with "Folders"

2019-04-16 Thread 'Mark S.' via TiddlyWiki
You don't mention this possibility, but could you use 

root-tiddler=$:/core/save/lazy-all

in the ws-server section of the config file of Bob, to activate lazy serving?

Thanks !
-- Mark


On Friday, April 5, 2019 at 12:30:45 AM UTC-7, Jed Carty wrote:
>
> If you are using a single file wiki than everything has to be loaded 
> before the wiki can function, this includes all embedded pdfs and other 
> media. Tiddlywiki can reference and display external media. Either using 
> _canonical_uri fields as Tony suggested or by directly linking to the me 
> media, the two are mostly equavient and which one you use is just a matter 
> of taste. See here https://tiddlywiki.com/#ExternalImages and here 
> https://tiddlywiki.com/#Images%20in%20WikiText for some references.
>
> Using either method you can get around much of the problem by letting the 
> browser handle the memory management. If you do that than only the media in 
> open tiddlers will necessarily be loaded into memory. I think that the 
> specifics are up to the browser caching policy.
>
> If you have 1 images than using external images is a better idea.
>
> Depending on your usage of TiddlyWiki you may be better off using the node 
> version.
>
> Bob may help with this, is it a plugin for tiddlywiki that I packaged into 
> a single executable file that takes care of saving and some management of 
> multiple wikis https://github.com/OokTech/TW5-BobEXE/releases
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/9b12f2e5-9ff9-4b4c-9739-78f63a8eec33%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Attachment performance with "Folders"

2019-04-16 Thread Marc Fargas
Thanks for the tips TonyM & Jed.

I am currently testing with Bob. Let's see how far I get before it explodes!

Thanks,
marc

On Friday, March 29, 2019 at 9:32:47 AM UTC+1, Marc Fargas wrote:
>
> Hi,
>
> I'm very new at Tiddly (like.. yesterday).
>
> Dropping PDF's on a tiddler seems very usefull, but on #Performance 
>  it says I should avoid having a 
> very large Tiddly... aka, I should avoid filling tidlly with lots of PDF.
>
> Question is... Is this true also when using the TiddlyWikiFolder 
>  structure? Or does it only matter 
> when using the single file format?
>
> Also, are the blobs loaded into memory no matter what (either server or 
> client) or only when the tiddle is open? (on WikiFolder format)
>
> Thanks,
> marc
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/a0e7c2f1-e74b-42c6-887b-0e3bce30c551%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Attachment performance with "Folders"

2019-04-05 Thread Jed Carty
If you are using a single file wiki than everything has to be loaded before 
the wiki can function, this includes all embedded pdfs and other media. 
Tiddlywiki can reference and display external media. Either using 
_canonical_uri fields as Tony suggested or by directly linking to the me 
media, the two are mostly equavient and which one you use is just a matter 
of taste. See here https://tiddlywiki.com/#ExternalImages and 
here https://tiddlywiki.com/#Images%20in%20WikiText for some references.

Using either method you can get around much of the problem by letting the 
browser handle the memory management. If you do that than only the media in 
open tiddlers will necessarily be loaded into memory. I think that the 
specifics are up to the browser caching policy.

If you have 1 images than using external images is a better idea.

Depending on your usage of TiddlyWiki you may be better off using the node 
version.

Bob may help with this, is it a plugin for tiddlywiki that I packaged into 
a single executable file that takes care of saving and some management of 
multiple wikis https://github.com/OokTech/TW5-BobEXE/releases

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/fc4a46ec-cdd3-43d1-9cc1-8b0215158202%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Attachment performance with "Folders"

2019-04-04 Thread TonyM
Marc,

Since no one has answered I will point you to the idea of external files 
using "canonical" or skinny tiddlers, these are key words that should get 
you somewhere on this.

Depending on your application I would first try filling up your wiki with 
your PDF's as a trial and see if they damage the performance.

Regards
Tony

On Friday, March 29, 2019 at 7:32:47 PM UTC+11, Marc Fargas wrote:
>
> Hi,
>
> I'm very new at Tiddly (like.. yesterday).
>
> Dropping PDF's on a tiddler seems very usefull, but on #Performance 
>  it says I should avoid having a 
> very large Tiddly... aka, I should avoid filling tidlly with lots of PDF.
>
> Question is... Is this true also when using the TiddlyWikiFolder 
>  structure? Or does it only matter 
> when using the single file format?
>
> Also, are the blobs loaded into memory no matter what (either server or 
> client) or only when the tiddle is open? (on WikiFolder format)
>
> Thanks,
> marc
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/0299438f-bd1d-4e1f-b9c4-613d4160996f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.