3 ms·
My sense is that it was always pretty low. What are the odds two sites use the same exact version of jquery and same third party cdn while the cache is still wa
by eli 6y ago
My sense is that it was always pretty low. What are the odds two sites use the same exact version of jquery and same third party cdn while the cache is still warm?
- rpastuszak 6y agoI guess it really depends on the use case and the library. I can imagine a tonne of WP sites referencing jQuery from the Google CDN, e.g.: https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.mi... Looking at the headers the JS asset would be cached for 1 year.
- dathinab 6y agoThere are always a few exceptions. But you also must consider that most people most times visit a small set of domains. Which means that most times they will have jquery and similar cached even without cross domain caching.
- aitchnyu 6y agoI guess the CDNs assume people should use libraries without version pinning, ie "latest".