Published: 9th Nov 2017 | Words: 341 | Reading Time: 2 minutes

Page Speed

The benefits of using a CDN

Using a CDN or content delivery network can help speed up the rendering of your page and improve your page speed. The proximity of a server to a person requesting a page does have an impact on how long it takes for the requested page or assets to reach them. Websites that are serving content to users who are thousands of miles may find there is room for improvement through the use of a CDN. A CDN is a network of servers which can serve content to a user quickly because content can be serve from a server within the network which is close to the user. Most very large websites will use massive CDN networks as they may have users in most parts of the world. Google has a huge CDN network for delivering assets across the globe. Google libraries makes use of a CDN network to serve up popular JavaScript libraries like JQuery and other resources for people to use within their websites. If you use a CDN you can externalise a lot of assets like images and serve them from a within the CDN network. This has the added benefit of helping with the optimisation of requests within your web pages as you will be requesting assets across multiple domains with parallel requests. There are some other small benefits to using a CDN. You can avoid setting browser cookies for assets and in turn cut down on resources. You will also be putting less strain on your server as you will be serving less assets to users. A CDN is a good investment for large websites with hundreds of pages and hundreds or more images. When you take a large website and weight up the savings of using a CDN the savings can be pretty substantial.