Comparison Between Common Javascript CDN and javascriptcdn
[Preface]
Refer to some online articles:
Http://c7sky.com/javascript-libraries-cdn.html
The cdn added in this article updates some databases and the response time.
[Update]
When I published an article, bootstrap was updated to 3.2.0,
However, most cdns provide the previous version 3.0.3,
In fact, the difference between the two is still relatively large. Here we will compare the bootstrap versions provided by each cdn
[Ping time]
Compare the ping time of each cdn
[Bae cdn]
Http://developer.baidu.com/wiki/index.php? Title = docs/cplat/libs
Update speed: slow (bootstrap-3.0.3)
Response time:Fast (2 ms)
[Sae cdn]
Address: http://lib.sinaapp.com/
Update speed: slow (bootstrap-3.0.0)
Response time: slow (45 ms)
[Youpai CDN]
Address: http://jscdn.upai.com/
Note: fewer js libraries are provided and are not recommended.
[Open static file CDN]
Address: http://staticfile.org/
Update speed:Fast (bootstrap-3.2.0)
Response time:Fast (2 ms)
[360 CDN]
Address: http://libs.useso.com/js.php
Update speed:Fast (bootstrap-3.2.0)
Response time: slow (66 ms)
[Cdnjs cdn]
Address: http://www.cdnjs.cn/
Update speed:Fast (bootstrap-3.2.0)
Response time: fast (5 ms)
[Others]
Other foreign cdns, such as google cdn, are not recommended.
[Comprehensive]
In general, the response time, database type, and update speed are better:
1. Open static file CDN
2. CDNJS CDN
[Conclusion]
The specific usage is still to be verified during use.
What reliable Javascript library CDN is available in China?
Baidu Sina Alibaba
Google is useless. Now, any google database is flushed.
Which one is faster than jQuery and JavaScript?
Javascript is a built-in module in the browser. It is used or not, and it is there. It is neither fast nor slow.
Jquery is a lightweight javascript class library. When it comes to class libraries, it is necessary to load jquery. In fact, it encapsulates javascript methods and serves developers more. For example, our commonly used document. when GetElementBy gets an object, let's write it over and over again, so jquery encapsulates it.
It doesn't matter how fast it is. After all, the jquery class library is also very small. Besides, the omnipotent $ symbol of jquery is the gospel of our coder.