I noticed this when I was testing twederation. I don't know that the server 
I use compresses data and even if it did I'm sure the host provider is 
counting final file size, not compression stream.

I think if it could be configured so the user gets to choose whether TW 
uses an external library, and what library that is, that it would satisfy 
the demands for security and privacy.

I would assume that the default core would be at TiddlyWiki.com, but people 
might put their own library on a server that was closer.

-- Mark

On Tuesday, May 9, 2017 at 8:23:21 AM UTC-7, Arlen Beiler wrote:
>
> Yes, yes, I know. TiddlyWiki is supposed to be a single file architecture. 
> And it is. And it will be when I am done with this too. So hear me out. 
>
> As I am working on an upgrade to the current TiddlyWiki Cloud Dropbox 
> saver. I keep thinking that there has to be a better way than uploading 1.5 
> MB every time. I know full well what most of that space is. Its mostly one 
> very crucial and important plugin that never changes without an official 
> release of TiddlyWiki. Because it IS TiddlyWiki. I am of course referring 
> to $:/core. 
>
> It weighs a whopping 1.2 MB. Not much compared to some libraries, but it 
> is a bit. And I wonder if there isn't some way that we can put that file 
> somewhere online so that as we get into Federation and more online hosting 
> and collaboration using TiddlyWiki, we don't have to keep GBs of TiddlyWiki 
> Core 5.1.14 (and then 15, and so on) in our cache and constantly 
> redownloading it everytime we visit a new website. 
>
> That's the main point. TiddlyWikis that are hosted online don't need to 
> contain their own copy of the core. They should be able to use the copy 
> that get's downloaded from the CDN, since then you can cache that copy and 
> use it on every website you visit. 
>
> We could add a second button in the Control Panel that would allow you to 
> download a TiddlyWiki with a reference to the correct version on the CDN 
> instead of the including the core in the download. There should also be an 
> easy way for the renderer to know whether it is supposed to add the core or 
> include the link. 
>
> I think the link should be in head and I don't know for sure but I am 
> imagining that it would use the preloadTiddlers mechanism. Or it should be 
> included directly before bootprefix or which ever script tag brings in the 
> preloadedTiddlers.
>
> Anyway, thoughts?
>
> -Arlen
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/dc8b44b6-dbbc-4c0f-b1d6-1113bc9210fc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to