Hi Jeremy

Having said that, the way that Dat works means that the entire site syncs 
> to your machine, so there wouldn’t be savings in terms of network traffic.


That's not always the case. By default, you only download individual files. 
A full file sync only happens if you rehost the site.

Gotcha. So would a reasonable strategy be to do a 
> dat.stat(document.location.split(“#”)[0]), and then if it comes back as a 
> directory, add “/index.html” to the URL?


Yes that would work.

-prf

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" 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/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/7ce09c1d-896e-46e1-8dd4-ca4c080d61d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to