3 ms·
You can also search Github. CDNJS: 18M references jsDelivr: 1M references I showed you 3 different sources that prove CDNJS is much more popular. You showed
by bufferoverflow 7y ago
You can also search Github.
CDNJS: 18M references
jsDelivr: 1M references
I showed you 3 different sources that prove CDNJS is much more popular. You showed zero so far.
- IanCal 7y agoYou may be right that CDNJS is more likely to result in cache hits, it's just that none of these figures actually help in finding out the answer. CDNJS being in 1000 small github blogs could easily be less impactful than a single large website using jsDelivr. We have no idea if the github projects are even used. Again, it may well be the case that it's better in this way, but these figures show nothing really either way. Here's a bit of an attempt at looking more at it, though I don't know their methodology: https://w3techs.com/technologies/details/cd-jsdelivr/all/all https://w3techs.com/technologies/details/cd-jsdelivr/all/all https://w3techs.com/technologies/details/cd-cdnjs/all/all https://w3techs.com/technologies/details/cd-cdnjs/all/all Ones that jump out there are dailymail and yelp, depending on your expected users you might expect one or the other does better for you.
- bufferoverflow 7y agoThese links also support my claim. Again, you posted zero evidence to the contrary.
- penagwin 7y agoWe aren't arguing for the contrary. We're just trying to make sure you're evaluating them correctly. IanCal found some nice links that support your claim, but he even added that depending on what and how you use it, either may be better for you (You wanted to count cache hits).
- IanCal 7y agoThis isn't some game to win, I wanted to show that there may be more useful metrics that correspond to what we care about here, and talk of the nuances that might be important. I don't really care who said the right thing first but I do care what the reality is.
- manigandham 7y agoThe thread is about cache hit ratio which is not that simple. A file is either cached at an endpoint or not, regardless of whether it's downloaded once or a billion times. CDNJS only supports ~3k libraries and gets most of its usage from jQuery and FontAwesome. jsDelivr has an automated backend proxy to support any NPM package, Github repo, or Wordpress.org plugin. It also uses Cloudflare as one of its backends, so at worst it's at parity with CDNJS in cache hits or far better due to more network partners, more global regions, and more packages from more origins. Anything on CDNJS is also likely cached by jsDelivr, but most of everything cached on jsDelivr is not even available on CDNJS.
- IanCal 7y agoThe other side though is if something is cached at the client, right? I thought that was what people were talking about with cache hits.