Английская Википедия:Cdnjs

Материал из Онлайн справочника
Перейти к навигацииПерейти к поиску

Шаблон:Short description Шаблон:Lowercase title Шаблон:Infobox software cdnjs is a free and open-source software (FOSS) content delivery network (CDN) hosted by Cloudflare.[1][2] As of May 2021, it serves 4,013 JavaScript and CSS libraries, which are stored publicly on GitHub.[3][4][5] 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.[6][7][8]

History

In January 2011, Ryan Kirkman and Thomas Davis created the service,[9] launching it on GitHub on February 25, 2011.[10][11][12] It initially served content through Amazon CloudFront.[10][13] On June 15, 2011,[14] cdnjs partnered with Cloudflare, who provided the CDN and subdomain cdnjs.cloudflare.com for the project.[10][11][12][15]

On November 1, 2019, the founders turned over control of cdnjs to Cloudflare, citing "technical and commercial reasons."[16] 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.[16][17][18] It is estimated the annual budget at the time was approximately $50/yr.[16][19]

Operation

The service is maintained by the community and Cloudflare.[2] 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.[4][20]

It is also sponsored by DigitalOcean, Algolia, Heroku, Atlassian, Sentry, and Lean20.[21][22][23]

There is a public JSON API for developers to query cdnjs library metadata.[24][25]

Resources on cdnjs can be loaded using a number of connection protocols – HTTP/2, HTTP, HTTPS or SPDY.[3][23][26]

The cdnjs.cloudflare.com domain is part of the HSTS preload list.[27]

There exist websites that host clones of cdnjs libraries on their own servers:

References

Шаблон:Reflist

External links