2 ms·
Do you really have to make them standard? There are not that many versions of most of these. Caching every common version of jQuery is pretty trival. The proble
by dexterdog 10y ago
Do you really have to make them standard? There are not that many versions of most of these. Caching every common version of jQuery is pretty trival. The problem is that many people host it themselves or use one of many CDNs to serve it up and then expose users to the potential tracking that CDNs can do. Why don't the browsers just cache based on the integrity hash of the css and js links when it is there instead of the url? Then everybody can host his own copies for the cases where the user doesn't have it and cache hits will be much more common.
- dexterdog 10y agoConcept covered in more depth here: https://mntr.dk/2016/content-addressable-browser-caching/ https://mntr.dk/2016/content-addressable-browser-caching/