The Bootstrap CDN

In the previous code example, you can see that we have used CDN for the HTML5 shiv element and the respond.js file.

A CDN is a large distributed system of servers deployed in multiple data centers across the Internet. Using a CDN means that you save significant bandwidth as the files are not loaded from your server. You can leverage the benefit of a blazing-fast performance, as the files loaded from the CDN are loaded in parallel and not queued by the browser, as they are in a different domain. In addition, the CDN provides data centers closer to the users, meaning that, the server selected is typically based on the user's location and faster routes. Thus, files are loaded faster. In some cases, it abstracts the need to load the ...

Get Learning Bootstrap now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.