3 ms·
Agree, I think most web devs should already know this, I am just surprised it's not a popular topic of discussion. Also, the common argument for this technique
by ttoinou 8y ago
Agree, I think most web devs should already know this, I am just surprised it's not a popular topic of discussion.
Also, the common argument for this technique that CDN lets you cache content so that users don't have to re download it every time. But I think it could also be done at the HTML level by precising a hash value of the file that we want to integrate (I stopped web dev for a few years I don't know if that has been added to HTML ?)
- LusoTycoon 8y agohttps://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity https://developer.mozilla.org/en-US/docs/Web/Security/Subres... The property is used to ensure the CDN is serving legit content that has not been tampered with.
- NVRM 8y agoWhat about your internet provider and belongers. Also sorry but nothing is free in our world. Mostly if it involve servers.