4 ms·
The answer at that Stack Overflow question is seriously incomplete (and even it doesn’t say there’s no cache). Browsers today will, for the most part, cache CDN
by minitech 6y ago
The answer at that Stack Overflow question is seriously incomplete (and even it doesn’t say there’s no cache). Browsers today will, for the most part, cache CDN responses, not need to revalidate them, and share that cache across sites (though I think first-party isolation changes that to a per-site cache).
- gitgud 6y agoYeah that's what I meant, I'm pretty sure it's isolated by each domain for privacy reasons. * example.com -> GET cdnjs.com/jquery * another.com -> GET cdnjs.com/jquery (not cached from example.com) No caching of the CDN assets between sites within the browser, regardless of HTTP caching headers.
- m463 6y agoStop. Go and look at the stack overflow. Then view source and look at the CDN links stack overflow uses.
- minitech 6y agoIs your comment intended to be rude? Maybe more importantly: is intended to have a point?