Cdnjs: Difference between revisions

Content deleted Content added
m Added history milestone of cdnjs reaching 3rd place in largest market share
MattIPv4 (talk | contribs)
m Replace cdnjs.net mirror example with ByteDance mirror
 
(39 intermediate revisions by 18 users not shown)
Line 1:
{{short description|Content delivery network for web resources}}
{{AFC submission|d|nn|declinets=20140609024905|decliner=Technical 13|ts=20140511012714|u=Thomasalwyndavis|ns=5}}{{AFC submission|d|nn|declinets=20140428014057|decliner=TheCascadian|ts=20140322102636|u=91.19.92.96|ns=5|small=yes}}{{AFC submission|d|nn|declinets=20131016214920|decliner=FoCuSandLeArN|ts=20131014070700|u=Thomasalwyndavis|ns=5|small=yes}}{{AFC submission|d|web|declinets=20130715235939|decliner=RadioFan|ts=20130715180705|u=Thomasalwyndavis|ns=5|small=yes}}{{afc comment|1=The changelog episode is pretty much the only reference that counts towards establishing notability. Blogs and sources that barely or don't mention the topic of the article do not count. <span style="border:2px solid #0918E8;background:#067D06;">[[User:TheCascadian|<font color="white">'''The'''</font>]]'''[[User talk:TheCascadian|<font color="white">Cascadian</font>]]'''</span> 01:40, 28 April 2014 (UTC)}}
{{Lowercase title}}
 
{{afc comment|1=No extensive coverage in [[WP:IS|independent]] nor [[WP:IRS|reliable]] sources, therefore [[WP:GNG|non-notable]]. [[User:FoCuSandLeArN|FoCuSandLeArN]] ([[User talk:FoCuSandLeArN|talk]]) 21:49, 16 October 2013 (UTC)}}
 
----
 
{{Infobox software
| name = Cdnjscdnjs
| logo = Cdnjs =logo.svg
| logo size = 180px
| screenshot = =
| caption = =
| developer =
| developer = [https://github.com/ryankirkman/ Ryan Kirkman], [https://github.com/thomasdavis/ Thomas Davis], [https://github.com/mattipv4/ Matt Cowley], [https://github.com/xtuc/ Sven Sauleau], [https://github.com/tc80/ Tyler Caslin]
| released = 2011
| released = {{Start date and age|2011|02|25}}<ref name="gh-api">{{cite web |title=cdnjs/cdnjs GitHub API |url=https://api.github.com/repos/cdnjs/cdnjs |publisher=GitHub |access-date=8 July 2019}}</ref>
| latest_release_version = 1.0.0
| latest_release_date = =
| latest_preview_version =
| latest_preview_date = =
| operating_system = [[Cross-platform]] (web-based application)
| repo = [https://github.com/cdnjs/cdnjs/ github.com/cdnjs/cdnjs]
| genre = Free CDN
| programming language = [[JavaScript]], [[Go (programming language)|Go]]
| license =
| operating_system = [[Cross-platform]] (web-based application)
| website = [http://cdnjs.com/ cdnjs.com]
| genre = [[Free and open-source software|FOSS]] [[Content delivery network|CDN]]
| status = Active
| license = [[MIT License]]<ref name="license">{{cite web |title=cdnjs/LICENSE at master · cdnjs/cdnjs |website=[[GitHub]] |url=https://github.com/cdnjs/cdnjs/blob/master/LICENSE |access-date=17 April 2019}}</ref>
| website = [httphttps://cdnjs.com/ cdnjs.com]
}}
'''cdnjs''' is a [[free and open-source software]] (FOSS) [[content delivery network]] (CDN) hosted by [[CloudFlare|Cloudflare]].<ref name="libs">{{cite web|title=libraries - cdnjs.com - The best FOSS CDN for web related libraries to speed up your websites!|url=https://cdnjs.com/libraries|access-date=17 April 2019}}</ref><ref name="cf-sponsors">{{Cite web|title=Sponsorships|url=https://developers.cloudflare.com/sponsorships/|access-date=September 3, 2020|website=Cloudflare}}</ref> As of May 2021, it serves 4,013 [[JavaScript]] and [[Cascading Style Sheets|CSS]] libraries, which are stored publicly on [[GitHub]].<ref name="os-com">{{cite web|title=Top 4 CDN services for hosting open source libraries {{!}} opensource.com|url=https://opensource.com/article/17/4/top-cdn-services|access-date=18 April 2019|publisher=opensource.com}}</ref><ref name="repo">{{cite web|title=cdnjs/cdnjs: 🤖 CDN assets - The #1 free and open source CDN built to make life easier for developers.|website=[[GitHub]] |url=https://github.com/cdnjs/cdnjs|access-date=13 May 2021}}</ref><ref name="huff-post">{{Cite news|last=Ivanovs|first=Alex|date=April 3, 2014|title=Faster Content Delivery Solutions for Web Developers|work=The Huffington Post|url=https://www.huffpost.com/entry/faster-content-delivery-s_b_5075471|access-date=September 3, 2020}}</ref> It is included in millions of websites, or 12.4% of the websites on the [[Internet]], making it the second most popular CDN for JavaScript.<ref name="w3techs">{{cite web|title=Usage Statistics and Market Share of JavaScript Content Delivery Networks for Websites|url=https://w3techs.com/technologies/overview/content_delivery/all|access-date=13 May 2021|publisher=W3Techs}}</ref><ref name="mynavi">{{Cite web|last=Goto|first=Daichi|date=November 1, 2018|title=JavaScript CDNのCDNJSが成長中、シェア8%超え|url=https://news.mynavi.jp/article/20181101-716753/|website=Mynavi}}</ref><ref name="beluga">{{Cite web|date=July 27, 2020|title=ULTIMATE GUIDE TO CDNJS- WHAT IT DOES FOR YOUR WEBSITE|url=https://www.belugacdn.com/blog/cdn/cdnjs/|access-date=September 3, 2020|website=BelugaCDN}}</ref>
 
== History ==
'''Cdnjs''' is a community driven, peer reviewed script repository, non-profit and open-source [[Content Distribution Network]], for popular web development frameworks, with a wide range of community-driven projects hosted on a global CDN to speed up the web as a whole.
In January 2011, Ryan Kirkman and Thomas Davis created the service,<ref name="original-site">{{Cite web|title=cdnjs.com: the missing cdn|url=http://www.cdnjs.com/|url-status=live|archive-url=https://web.archive.org/web/20110125232824/http://www.cdnjs.com/|archive-date=January 25, 2011|access-date=September 3, 2020|website=cdnjs.com}}</ref> launching it on GitHub on February 25, 2011.<ref name="cf-art-1">{{cite web|title=CDNJS: Community Moderated Javascript Libraries + CloudFlare|date=16 June 2011 |url=https://blog.cloudflare.com/cdnjs-community-moderated-javascript-librarie/|access-date=18 April 2019|publisher=Cloudflare}}</ref><ref name="cat5-tv">{{Cite news|date=May 3, 2014|title=345 - Behind CDNJS - #Cat5TV Category5TV|url=https://www.youtube.com/watch?v=Pjj-5YEy1Z0|access-date=September 3, 2020}}</ref><ref name="the-changelog">{{Cite news|date=June 21, 2011|title=63: CDNJS with Thomas Davis and Ryan Kirkman|work=The Changelog|url=https://dev.to/changelog/63-cdnjs-with-thomas-davis-and-ryan-kirkman|access-date=September 3, 2020}}</ref> It initially served content through [[Amazon CloudFront]].<ref name="cf-art-1" /><ref name="treehouse">{{cite web|title=cdn js {{!}} Treehouse Blog|url=https://blog.teamtreehouse.com/cdn-js|access-date=18 April 2019}}</ref> On June 15, 2011,<ref name="cf-tweet">{{Cite tweet|user=Cloudflare|number=81512881341997056|date=16 June 2011|title=CDNJS: all the Internet's best Javascript libraries, now in a single, fast repo powered by CloudFlare! http://blog.cloudflare.com/cdnjs-community-moderated-javascript-librarie}}</ref> cdnjs partnered with Cloudflare, who provided the CDN and [[subdomain]] cdnjs.cloudflare.com for the project.<ref name="cf-art-1" /><ref name="cat5-tv" /><ref name="the-changelog" /><ref name="techcrunch">{{Cite web|last=Perez|first=Sarah|date=June 24, 2019|title=Cloudflare issues affecting numerous sites on Monday AM [Update: fixed]|url=https://techcrunch.com/2019/06/24/cloudflare-outage-affecting-numerous-sites-on-monday-am/|access-date=September 3, 2020|website=TechCrunch}}</ref>
 
On November 1, 2019, the founders turned over control of cdnjs to Cloudflare, citing "technical and commercial reasons."<ref name="hn-cdnjs-activity">{{Cite news|date=November 1, 2019|title=Lack of cdnjs activity|work=Hacker News|url=https://news.ycombinator.com/item?id=21416614|access-date=September 3, 2020}}</ref> According to the community maintainers, the project was difficult to manage because of limited access to the GitHub repository, inactive founders, and a small budget.<ref name="hn-cdnjs-activity" /><ref name="gh-cdnjs-activity">{{Cite web|date=October 21, 2019|title=Lack of cdnjs activity|url=https://github.com/cdnjs/cdnjs/issues/13524|access-date=September 3, 2020|website=GitHub}}</ref><ref name="cf-art-3">{{Cite web|date=December 19, 2019|title=An Update on CDNJS|url=https://blog.cloudflare.com/an-update-on-cdnjs/|access-date=September 3, 2020|website=The Cloudflare Blog}}</ref> It is estimated the annual budget at the time was approximately $50/yr.<ref name="hn-cdnjs-activity" /><ref name="oc-cdnjs-activity">{{Cite web|title=cdnjs|url=https://opencollective.com/cdnjs|url-status=live|archive-url=https://web.archive.org/web/20191224184858/https://opencollective.com/cdnjs|archive-date=December 24, 2019|access-date=September 3, 2020|website=Open Collective}}</ref>
== History ==
 
Created in 2011, '''Cdnjs''' has gained notable reputation among developers, and now serves traffic comparable with Microsoft's and Yahoo's content distribution networks.<ref name="w3techs">http://w3techs.com/technologies/details/cd-cdnjs/all/all</ref><ref>http://thechangelog.com/episode-0-6-3-cdnjs-with-thomas-davis-and-ryan-kirkman/</ref><ref>http://theindustry.cc/2012/07/10/cdnjs-and-cloudflare-more-than-just-a-cdn/</ref><ref>http://www.category5.tv/episodes/345.php</ref> [[BuiltWith]] reports that over 150, 000 websites now use '''Cdnjs''' to host their files.<ref>http://trends.builtwith.com/cdn/CDN-JS</ref>
== Operation ==
The service is maintained by the community and Cloudflare.<ref name="cf-sponsors" /> As of May 2021, there have been 1,443 contributors to the main GitHub repository, and 88 contributors to the newer package configuration GitHub repository.<ref name="repo" /><ref name="repo-packages">{{cite web|title=cdnjs/packages: 📦 Package configurations - The #1 free and open source CDN built to make life easier for developers.|website=[[GitHub]] |url=https://github.com/cdnjs/packages|access-date=13 May 2021}}</ref>
 
It is also sponsored by [[DigitalOcean]], [[Algolia]], [[Heroku]], [[Atlassian]], Sentry, and Lean20.<ref name="do-os">{{cite web |title=Open Source at DigitalOcean |url=https://www.digitalocean.com/open-source/ |access-date=8 July 2019}}</ref><ref name="collectiveray">{{cite web |title=15+ Free CDN WordPress Services to Boost Your Site Speed (2019) - CollectiveRay |url=https://www.collectiveray.com/wp/tips/free-cdn-wordpress |access-date=18 April 2019}}</ref><ref name="about">{{cite web |title=About Us - cdnjs - The #1 free and open source CDN built to make life easier for developers |url=https://cdnjs.com/about |access-date=13 May 2021}}</ref>
In June of 2014, Cdnjs overtook Microsoft's market share for CDN technologies, making it the 3rd largest public CDN in the world. <ref>http://w3techs.com/blog/entry/fact_20140603</ref>
 
There is a public [[JSON]] [[Web API|API]] for developers to query cdnjs library metadata.<ref name="programmableweb">{{cite web |title=cdnjs API {{!}} ProgrammableWeb |url=https://www.programmableweb.com/api/cdnjs |access-date=18 April 2019}}</ref><ref name="api">{{cite web |title=API - cdnjs.com - The best FOSS CDN for web related libraries to speed up your websites! |url=https://cdnjs.com/api |access-date=17 April 2019}}</ref>
=== Cloudflare ===
The project infrastructure is sponsored by and hosted on Cloudflare's<ref>[[CloudFlare]]</ref> world-wide servers as of early 2011.<ref>http://blog.cloudflare.com/cdnjs-community-moderated-javascript-librarie</ref><ref>{{cite web |url= http://go.bloomberg.com/tech-deals/2012-12-18-why-a-fast-growing-startup-tries-to-keep-its-venture-funding-secret/ |title= Why a Fast-Growing Startup Tries to Keep Its Venture Funding Secret |last1= Milian |first1= Mark |last2= |first2= |date= December 18, 2012 |work= Tech Deals |publisher= Bloomberg |accessdate=January 1, 2013}}</ref> [[Cloudflare]] partnered with the open source project after reaching out to Cdnjs in an attempt to speed up the web.<ref>http://blog.cloudflare.com/cdnjs-community-moderated-javascript-librarie</ref><ref name="cloudflare">https://www.cloudflare.com/apps/cdnjs</ref>
 
Resources on cdnjs can be loaded using a number of connection protocols – [[HTTP/2]], [[HTTP]], [[HTTPS]] or [[SPDY]].<ref name="os-com"/><ref name="about"/><ref name="cf-art-2">{{cite web |title=CDNJS: The Fastest Javascript Repo on the Web |date=12 December 2012 |url=https://blog.cloudflare.com/cdnjs-the-fastest-javascript-repo-on-the-web/ |publisher=Cloudflare |access-date=18 April 2019}}</ref>
== Status ==
The project, as of May 2014, hosts over 800 libraries, which contain Flash, CSS, HTML and JavaScript. The library submissions are maintained by 800+ developers, using [[GitHub]] as the central management tool.<ref>https://github.com/cdnjs/cdnjs</ref>
 
The cdnjs.cloudflare.com ___domain is part of the [[HTTP Strict Transport Security|HSTS]] preload list.<ref>{{cite web |title=HSTS Preload List Submission |url=https://hstspreload.org/?___domain=cdnjs.cloudflare.com |access-date=17 April 2019}}</ref>
Many popular JavaScript libraries endorse '''Cdnjs''' as an official hosting source.
* [[jQuery]] - the most popular JavaScript library known to the universe<ref>http://jquery.com/download/</ref>
* [[KnockoutJS]]<ref>http://knockoutjs.com/downloads/</ref>
* [[Modernizr]]<ref>http://modernizr.com/news/modernizr-and-cdns/</ref>
Many popular websites also use Cdnjs<ref name="w3techs" />
* Mcdonalds.com
* Cnyes.com
* xbox.com
 
There exist websites that host clones of cdnjs libraries on their own servers:
== See also ==
* [https://tools.wmflabs.org/cdnjs/ Wikimedia Tool Labs]
* [[Content Delivery Network]]
* [https://cdn.bytedance.com/ ByteDance]
* [[BootstrapCDN]]
 
== References ==
{{reflistReflist}}
 
== External links ==
* {{official sitewebsite|https://www.cdnjs.com/}}
* [https://github.com/cdnjs Github Organization]
 
[[Category:Content delivery networks]]
<!-- Just press the "Save page" button below without changing anything! Doing so will submit your article submission for review. Once you have saved this page you will find a new yellow 'Review waiting' box at the bottom of your submission page. If you have submitted your page previously, either the old pink 'Submission declined' template or the old grey 'Draft' template will still appear at the top of your submission page, but you should ignore it. Again, please don't change anything in this text box. Just press the "Save page" button below. -->