Ok, so actual question, How useful are CDN endpoints these days with https everywhere? Because you can’t cache encrypted content. Also you can’t cache live content like video calls or online games. I’d imagine the percentage of cacheable content is actually fairly low these days. But like I said, I don’t actually know the answer to this, i’d be curious to hear your take.
Browsers partition the cache by “origin” now though, so while it can cache HTTPS content, it can’t effectively cache shared content (It’ll store multiple independent copies).
So Youtube still works fine, but Google Fonts is pointless now.
Edit: Oh yeah, and any form of shared JavaScript/CSS/etc. CDN is now also useless and should be avoided, but that’s always been the case.
Yeah, this is the point I was getting at, encrypted content tends to be personalized to individual users, not always I guess. But yeah, I’m not sure how much is left.
Ok, so actual question, How useful are CDN endpoints these days with https everywhere? Because you can’t cache encrypted content. Also you can’t cache live content like video calls or online games. I’d imagine the percentage of cacheable content is actually fairly low these days. But like I said, I don’t actually know the answer to this, i’d be curious to hear your take.
HTTPS can in fact be cached, and most modern browsers will do so unless given a header or something to tell it not to.
Source: Devtools network tab + https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Caching
Browsers partition the cache by “origin” now though, so while it can cache HTTPS content, it can’t effectively cache shared content (It’ll store multiple independent copies).
So Youtube still works fine, but Google Fonts is pointless now.
Edit: Oh yeah, and any form of shared JavaScript/CSS/etc. CDN is now also useless and should be avoided, but that’s always been the case.
Yeah, this is the point I was getting at, encrypted content tends to be personalized to individual users, not always I guess. But yeah, I’m not sure how much is left.