Comparison Between Common Javascript CDN and javascriptcdn

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.