CDNJS is actually orders of magnitude more likely to have a cache hit than this new offering.
CDNJS is actually orders of magnitude more likely to have a cache hit than this new offering.
CDNJS is just a standard CDN that serves up files as they're packaged, but if you want a high hit-ratio then https://jsDelivr.com has the most marketshare currently, and more features.
Are you sure it has the most marketshare?
CDNJS is only using Cloudflare, JsDelivr has a bigger network with more partners and support for both npm and github.
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,jsde...
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.
CDNJS: 18M references
jsDelivr: 1M references
I showed you 3 different sources that prove CDNJS is much more popular. You showed zero so far.
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-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.
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).
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.
I struggled to see the value-add, I think it does automatic bundling & inserts polyfills based on UA strings. The whole pika project looks like a rewrite/alternative to the npm servers, kind of like MetaCPAN is for perl's CPAN+search.cpan.org
I struggled because the landing page & about were very light on the project/product's overview, too details-focused for me and I suppose anyone else who wasn't already aware of it.