The benefits of hosting common JavaScript libraries externally at JavaScript CDN are well known - i list them just in short: external hosting of JavaScript libraries
- reduces own server's traffic
- makes parallel loading possible
- Speed
- Popularity
Lets look on some details, which help to choose an optimal public hosting of common JavaScript libraries.
tl;dr;
- If you doubtlessly want to host JavaScript libraries externally, host them at Google Hosted Libraries - so you get highest chance, that your visitors have them already in chance and don't need to download them again.
- If you doubt, host better your JavaScript libraries locally - visitors, who have JavaScript libraries in cache are very few, and the average visitor gets the data on fastest way.
No comments: