Mobile app version of vmapp.org
Login or Join
Tiffany637

: Full Boostrap from CDN vs custom version from own server The last few versions of Twitter Bootstap can be customized to include only the components you need. The full version, with all the

@Tiffany637

Posted in: #Bootstrap #Cdn #Performance

The last few versions of Twitter Bootstap can be customized to include only the components you need.

The full version, with all the components, can be served from a wide variety of public CDNs (MaxCDN, Google APIs, CloudFlare JS CDN...), but if you make a custom version, you are forced to host it on your own server.

Is it worth it, in terms of site performance, to scrape off a few Kb and loose the ability to load your static assets from a fast, safe (and free) CDN?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Tiffany637

1 Comments

Sorted by latest first Latest Oldest Best

 

@Turnbaugh106

Using a content delivery network for one CSS and JS framework isn't going to make a major difference to the average site. The more files you serve on a CDN the more beneficial it becomes and especially if your site receives high traffic because this takes load of your server.

Another factor is that CDN creates additional DNS lookups so if your using multiples such as MaxCDN, CDNjs, GoogleFonts and Cloudflare that means you have 5 DNS lookups, your site and 4 externals.

Ideally you should aim to use as few content delivery networks as possible but have as much content as possible stored on them, also creating fallbacks is always a good practice.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme