file size reduction

Sett 100 ganger
Hopp til første uleste melding

SveRo

ulest,
10. apr. 2018, 00:55:1210.04.2018
til TiddlyWiki
Hi all,

i've got TW5 v. 5.15 running.
No includet PDF's, pics or something like that but the file has > 10Mb.

I've tested some pluginns in the past, but removed the after testing.
Just the "checklist plugin" is acive!

Is there any possibility to check form what part the file size is comming?

OR...

Can i do "mass -export"of mytiddler to set up a comletely new TW5,
but with the side-bar configuration i established?

Many thank for your reply's

Best Regards
Sven

Mat

ulest,
10. apr. 2018, 01:06:0210.04.2018
til TiddlyWiki
The matter felt familiar so I checked one of my main TWs for "sizesort" and, sure enough;

<$list filter="[!is[system]!is[shadow]!lsort[]]">
<$macrocall $name="length" tiddler={{!!title}}/>
<$link><$view field=title/></$link>
<br>
</$list>

Now, that "length" macro is apparently from this plugin by Thomas Elmiger:

$:/plugins/telmiger/EditorCounter/counter.js

do a search and you'll probably find it.

After those things were made, we now have a "count" filter operator. Maybe that can be used instead to not depend on that separate plugin... but on the other hand it might be much slower, I have no idea.

<:-)

SveRo

ulest,
10. apr. 2018, 01:18:3810.04.2018
til TiddlyWiki
OK, reduced about 50% thankyou

Diego Mesa

ulest,
10. apr. 2018, 12:04:0110.04.2018
til TiddlyWiki
Hey Mat,

What is lsort? I dont seem to have that

Mark S.

ulest,
10. apr. 2018, 12:22:4510.04.2018
til TiddlyWiki

Mat

ulest,
10. apr. 2018, 12:45:4710.04.2018
til TiddlyWiki
Aha, didn't even notice the "lsort". Yes, as Mark points out it is someting from Stephan Hradek found here:

https://groups.google.com/forum/#!msg/tiddlywiki/hr75FTeEL_g/Zq9c1OJz6KkJ

Investigating it closer, I'm realizing I probably found the solution from


where Tobias gives cred to Stephan.

<:-)
Svar alle
Svar til forfatter
Videresend
0 nye meldinger