Remix.run Logo
cjbgkagh 3 hours ago

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

faangguyindia an hour ago | parent | next [-]

It offers security.

Just like you wouldn't use same table in your system for all users in a multi tenant application.

cjbgkagh an hour ago | parent [-]

If the file is hashed strongly enough then it can be no other file. I can see how information on previous sites visited can be leaked and how this could be bad but I think whitelisting by end users could still allow some files to be used. E.g. the code for react.

thornewolf 2 hours ago | parent | prev [-]

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

cjbgkagh 2 hours 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.