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 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/CAJ1vdSQH5JEDH75WzJ7nAct33P3pcd05-0Z_B%3D7zNGJq5a1djg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to