4 ms·
"CDNJS" returns 5X more results in Google compared to "jsDelivr", so you're more likely to get a cache hit. Are you sure it has the most marketshare?
by bufferoverflow 7y ago
"CDNJS" returns 5X more results in Google compared to "jsDelivr", so you're more likely to get a cache hit.
Are you sure it has the most marketshare?
- manigandham 7y agoA google search for the name has nothing to do with network coverage and volume of the CDN traffic. CDNJS is only using Cloudflare, JsDelivr has a bigger network with more partners and support for both npm and github.
- bufferoverflow 7y agoGoogle search tells you how popular it is, and that's what matters when getting a cache hit. Network coverage doesn't affect that. You can also try Google Trends, which tells you CDNJS is around twice as popular: https://trends.google.com/trends/explore?geo=US&q=CDNJS,jsdelivr https://trends.google.com/trends/explore?geo=US&q=CDNJS,jsde...
- IanCal 7y agoI think you need to treat "commonly searched" and "commonly hit by users while browsing" very differently. It's not popularity of searching or articles written about a CDN that determines the cache hits.
- penagwin 7y agoGoogle search can only tell you how popular something is to search and how much content there is about it. They aren't going to be showing you a website just because there's a src="cdn.example.com" in the code, only if it's in the text. To actually know then you either need them to report their # of users and trust them, or scrape tons of websites and check their source for which CDN they use.
- bufferoverflow 7y agoYou 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.