Free multi-CDN for open source projects hosted on npm
seen from Poland
seen from United States

seen from Nepal

seen from Germany
seen from United States
seen from Türkiye
seen from Russia

seen from United States
seen from United States
seen from Netherlands

seen from United Kingdom
seen from Türkiye
seen from United States
seen from South Korea

seen from Germany
seen from Iraq
seen from Russia
seen from United States
seen from United States
seen from Portugal
Free multi-CDN for open source projects hosted on npm
免費的 CDN 資源
在「A List of Free Public CDNs for Web Developers」這篇文章裡面列出了網路上免費的 CDN 資源。
可以看到 MaxCDN (jsDelivr、OSSCDN、jQuery CDN) 與 CloudFlare (cdnjs) 都投資了不少在其中。不過 MaxCDN 的部份都沒有拿出亞洲 PoP 來用,速度還是慢了不少…
對於有使用各種套件的人,可以在這邊的列表上找一找,除了可以節省自己機器的頻寬負擔外,另外用 CDN 也有機會與其他人共用 cache 而加速…
View On WordPress
jsDelivr
Recently I found a very interesting project from @jimaek called jsDelivr.
What is it? At first it looks like a common CDN service which hosts opensource libraries. You can look for the name of the library and you get urls, not so new but it's still useful. Probably you know that other CDN services hosts opensource libraries for free so you could not be so surprised.
Why should I care? jsDelivr has 40 POPs (Point Of Presence) around the world including POPs from maxcdn AND cloudflare but the really great thing about this project is that it uses all these POPs load balancing them in order to provide to the user the best performing POP (now you should be intrigued). There are many discussions around if it's better maxcdn or cloudflare to serve your files but usually the best answer is "it depends". Using jsDelivr you simply don't care when is better which service, you can be sure that the best provider will be used based on your visitor's location/network!
Want more? (really much more) I was never really interested in hosted libraries because they drive to more requests => many DNS resolutions => many downloads => much more time to complete the page. The great thing about jsDelivr is that you can combine multiple files into a single request! Do you need to include bootstrap, jquery, d3js and angularjs? You can do with a single script tag, in a single HTTP request (or HTTPS if you prefer)! (now you should be thrilled)
Costs Probably you understood how interesting is this project and you are thinking "sounds great, how much?" .. good news, it's totally free!
Included libraries (with surprise) At the moment jsDelivr hosts 951 opensource libraries but the number is increasing and (great news) you can add them on your own! It's really simple (I just tried), you can read how to do it in README.md on GitHub. (you should think "oh my ..")
Last good news If you like the project and you are thinking to use it to serve your javascript files there is a even better news. It's not limited to javascript! You can add javascript libraries, CSS frameworks, fonts and even more!
Enjoy jsDelivr and spread the news, this project really deserve more attention!
Mozilla 推薦的 jsDelivr?
Mozilla 在「jsDelivr – The advanced open source public CDN」這篇文章裡面推薦 jsDelivr 這個服務:
Similar to Google Hosted Libraries, jsDelivr is an open source CDN that allows developers to host their own projects and anyone to link to our hosted files in their websites.
用 GitHub 當作 origin server,前端目前利用 CloudFlare 與 MaxCDN,配合 Cedexis 的 openmix 服務,綜合這兩家 CDN 提供服務。
既有的 cdnjs.com 是由 CloudFlare 贊助的服務,那 jsDelivr 呢?
看了…
View On WordPress