4 ms·
I think it would be fine to let the CDN mark the common shared resource as "Caching: shared" as an opt-in, and also allow the including page to override with an
by singlow 7y ago
I think it would be fine to let the CDN mark the common shared resource as "Caching: shared" as an opt-in, and also allow the including page to override with another header as an opt-out. If you are including shared cdn resources on a sensitive page, you are already doing it wrong. The CDN could already control its header to only send the opt-in for very commonly used resources in order to avoid fingerprinting based on less common ones.
- JohnBerea 7y agoThis is a wonderful idea. You could also opt-in client-side with a shared attribute: <script shared src="//:jquery.com/jquery.js"></script>