2 ms·
> Where did you get the information from that CDNs arent as good as they used to be? The other comment addressed this, but to be clear. One of the common usage
by eyelidlessness 6y ago
> Where did you get the information from that CDNs arent as good as they used to be?
The other comment addressed this, but to be clear. One of the common usage of external CDN resources is predicated on a performance benefit: if multiple sites use the same resource, it’s more likely to be cached already and much less likely to be impaired by the drawbacks (DNS hit, external network factors). But since browsers have shipped cache partitioning for very good privacy reasons (as other comment mentions, caches are prefixed by the requesting origin), you get no cache benefit and all of the detriment of a clear cache.
Essentially the only reason to use a CDN for third party resources now is if you can bet the CDN will perform better than your local, already DNS-resolved host.