Review free CDN-hosted JS libraries, jsDelivr

recently came across a new interesting service that has never been mentioned on Habre, therefore decided to share this article with your community.
In this article You will learn about web service jsDelivr, what is its purpose and how to use it on Your website. Let's start with the fact that this web service is absolutely free and not a commercial project. jsDelivr solves two main tasks:
the
    the
  • Provides the ability to js developers fast and free to place all the static files of your project on a public CDN hosting.
  • the
  • Provides webmasters an opportunity to download all the files (javascript/css/images) that uses any plugin or library from a fast CDN hosting, thereby releasing the load on your own server.

jsDelivr — sponsored by two American firms NetDNA CDN which provides free traffic to your Enterprise network and UserVoice which provides a platform for processing, administration of requests and user support.

Principle of operation

If You are a js developer or just any user who wants to use a js project, but doesn't want to upload a file to your server, you can find it with the search or if it is missing on the service you can send a link to a website describing the project and after processing the request by the administrator, all files will be uploaded to the CDN and can find the main page.
Then you can copy the direct link from the site and use it to download the files in your project.

Comparison of service with other public CDN hosting
the the the the
Name Google CDN Yandex CDN jsDelivr
Latency 49ms 115ms 64ms
Number of projects 11 ~30 267
Constraints Only the most popular libraries Only the most popular libraries upon all

For the latency test was used to service www.site24x7.com/ping-test.html

Plugin for WordPress

The service also provides jsDelivr plugin for WordPressa which automatiseret and simplifies the integration with the service.
The plugin automatically scans the site and if it finds the matching links for remote booting, then it replaces them with references from the host, thereby speeding up the operation of the site.
jsDelivr
wordpress.org/extend/plugins/jsdelivr-wordpress-cdn-plugin

Example usage resource works

A striking example of the use of resource what will be a js library written by the developer for common use, intended audience located in different countries. Due to the speed and the free use of this CDN — this service is the perfect solution to this problem.
Article based on information from habrahabr.ru

Популярные сообщения из этого блога

Approval of WSUS updates: import, export, copy

The Hilbert curve vs. Z-order

Kaspersky Security Center — the fight for automation