CDN Basics


CDN Basics

Last updated February 17th, 2015

What is a CDN?

A CDN (Content Delivery Network) is a network of geographically dispersed servers known as nodes. Each CDN node caches the static content of a website such as the images, styles, scripts, etc. Because most of your users' loading time is spent fetching this content, it makes sense to serve up these "building blocks" of a website on as many nodes as possible, distributed throughout the world.

When a user requests your website, the node closest in proximity to the user will deliver the static content. This ensures that the shortest possible route for the data to travel is used, resulting in reduced latency and therefore providing the fastest user experience.

Why would I want to use a CDN?

The number one reason for using a CDN is to improve your users' experience in terms of speed, because as we know - speed is king!

The number two reason, and this is especially relevant in New Zealand, is to reduce international bandwidth consumption. The nodes within the CDN only need to make one request for the files on the originating server before being able to serve up multiple copies to overseas users.

Ensuring a consistent experience for all your users is important. Your website may be hosted in a particular region, but the majority of its users maybe be coming from an entirely different region. For example, your website might seem blazingly fast for New Zealand users, but if a good chunk of your visitors originate from Europe, their speed will not be as fast as you experience.

Do I really need to use a CDN?

We're big proponents of keeping things simple, so we recommend not enabling a CDN, unless you fit any of the following criteria:

  • A lot of your traffic is from outside New Zealand.
  • You're expecting traffic spikes, maybe from a promotional campaign.
  • You'd like some protection from DDoS attacks.
Can we improve this article? Suggest an improvement to this article.

Suggest an Improvement

Thank you for helping us to improve this Knowledge Base article. Please type your suggestions below:

Still need help? Get in touch with us.

If you aren't able to find the help you need then please send us a question and we can help you further.