What is CDNJS. How it useful for websites.



CDNJS is a library repository which hosted on cloudflare.com. It’s freely available CDN for common Javascript and CSS libraries. Such type of system mostly known as CDN (Content Delivery Network).

Thomas Davis and Ryan Kirkman created cdnjs, Drew Freyling and Peter Dave are maintainers.
CDNJS host mostly known production ready versions of JavaScript/CSS library. CDNJS also support Beta version on their platform with the help of npm/git.
How it useful for websites.

The goal of a CDN (Content Delivery Network) is to deliver content easily to end-users with high availability and high performance.  CDN improve websites performance when sites use CDN library because websites no need to download again if CDN library already download by other sites.

Example of jquery CDNJS CDN path
------------------------------------
jquery   - https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js

Official site - http://cdnjs.com/
Tags: CDN, CDNJS, cloudflare, CSS, JS.
Previous
Next Post »

3 comments

Click here for comments
5 February 2016 at 00:39 ×

If you are thinking about using CDN, you should understand that you really need it. There is no good free cdn nowadays and every good service costs good money. That's why you should understand why your website needs it. It's not very good for all types of content, works great with leave straming etc. It shows great performance for us (adult video thematic). Here is decent knoledge base about cdn http://cdnsun.com/knowledgebase and you could find answers on your basic questions there.

Balas
avatar
admin
28 September 2016 at 07:15 ×

I've tried it, it's decent but cloudflare is better, when we are talking about free cdn. You can also try https://cdnsun.com/ it's cheap cdn with high performance.

Balas
avatar
admin
1 March 2017 at 02:34 ×

Following google Pagespeed insight recommendations is a good way to speed up your site. Sometimes it could be a problem with your hosting provider or server, so you should change it or start to use https://cdnsun.com/. Content delivery network is a good way to speed up your site.

Balas
avatar
admin
Thanks for your comment