: 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
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?
More posts by @Tiffany637
1 Comments
Sorted by latest first Latest Oldest Best
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.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.