Remix.run Logo
wereHamster 4 hours ago

CDN wouldn't help much. These days browsers partition caches by origin, so if two different tools (running on different domains) fetch the same model from the CDN, the browser would download it twice.

cjbgkagh an hour ago | parent [-]

Did not know that. That sounds extraordinary wasteful, there must be a file hash based method that would allow sharing such files between domains.

thornewolf 29 minutes ago | parent [-]

it's a security feature. otherwise my malicious site could check for cdn.sensitivephotoswebsite.com and blackmail you if it was cached already

cjbgkagh 26 minutes ago | parent [-]

It would be nice if there was a whitelist option for non-sensitive content. I stopped using cdn links due to the overhead of the extra domain lookups but I did think that my self hosted content would be cached across domains.