

It might seem like a good idea to serve all your JavaScript files from these libraries, but that might not be a generally good idea. There are many well known hosted libraries – the two most famous being Google and CDNJS. You can call on these well-known JavaScript libraries and add them to your site with a small bit of code. These hosted libraries are high speed, geographically distributed servers that serve as content distribution networks for popular, open source Javascript libraries. However, there’s another step beyond a CDN – hosted libraries. JavaScript, CSS, and image files fall into this category. You probably already know that it’s better to load static files from a Content Distribution Network (CDN).
