DEV Community

Discussion on: Should we use CDN or locally download libraies?

Collapse
 
ashishkumarsinghh profile image
Ashish Kumar Singh

CDN

  • If your website grows then, CDN will help in reducing load at your server. The size of this lib is small, but maybe you will use many others and when number of users grow, this small difference is multiplied.
  • Would be faster, depends on the location of CDN, location of client, but if your users are spread all over the world, then using a CDN will definitely reduce the average time to serve this lib.