Speeding Up your Website When Going International thanks to a CDN

Spread the love

What is a Content Delivery Network (CDN), how does it work and what are the results to expect (our feedback using CloudFront)?

The issues raised by an international traffic

Having an international development is usually good news for an e-commerce activity. However, a new technical issue will appear very soon; how to make sure that the website is fast enough for geographically distant people from your hosting server?

Why this issue? On every network communications,  an unavoidable and incompressible delay is required for the data transfer. This time is not related to your server’s bandwidth nor the web user’s, but to the distance between them, and to the number of intermediary devices necessary to ensure this communication.

The remoteness of your user in relation to your website hosting has a strong impact on performances.

Here is the loading time that we used to observe on dareboost.com, hosted in France, from different locations (before a CDN was set up):

Loadtime change according to the probe location
A Content Delivery Network is an efficient solution to face this issue.


What is a Content Delivery Network?

As its name indicates, a CDN is a network. There are several providers for these kind of networks (e.g. Cloudfront or Akamai), that allow their users to host contents, contents that will be duplicated to several locations across the world.

The goal is to set up all static contents  (non dependent of the user’s session or context) of a website  on the CDN. Then, the images, Javascript or else the style sheets will be no longer downloaded from your server, but directly from the CDN, that has surely a server located closer to the web user. This will lead to a significant acceleration of your web page display.


Setting up a CDN on dareboost.com, our feedback

We chose to use CloudFront, Amazon’s CDN. We could quickly configure it, it was really effortless.

All static resources (images, JavaScripts files and CSS-type files) of dareboost.com now goes through CloudFront, Amazon’s CDN, reducing the latency and then the loading time of these same resources.

We were able to measure the impact of the CDN use thanks to our monitorings that keep watching the main pages of our website from several probes: Paris, New-York, Sydney and Frankfort.

CDN results

The positive effects of the CDN are stronger in Sydney, quite making sense since it is the farthest of our own hosting server. Here is the evolution of the loading time from this location before and after the CDN was set up:


Loadtime from Sydney

The page, that would be fully loaded after about 5 seconds, now falls below 4 seconds, meaning a more than 20% saving.

The loading time of our static resources was, on average, divided by 10.

Before using the CDN :

Timeline before CDN 

After using the CDN :

Timeline After CDN


The gain on the total loading time remains limited compared to the consequent gain observed on static resources. The culprit is mainly third parties’ resources, like the Google Fonts for instance (orange frames in the below timeline). But all the requests that are dependent of the user’s context (red frames) are also in cause, as they do not benefit from the CDN effects (they still need to join our server in France).

Timeline bottlenecks


Even if we have still work to do to enhance the user experience on countries like the USA or Australia, we significantly better things by using a CDN. We are glad that we could set it up effortless, since we were already using an efficient cache policy and the versioning of our contents.

We take this opportunity to remind you how important are the best practices related to the use of cache and that can absolutely not be ignored for this kind of usage!

Is your international traffic important?
Go and check www.dareboost.com and you will be able to test the speed of your website from 4 different locations for free!


Spread the love

One thought on “Speeding Up your Website When Going International thanks to a CDN

  1. Thanks for the info. On my opinion, using a CDN is much more useful than previously even. One more CDN that is worth to mention is Edgecast, for sure. I’d definitely recommend its services for big websites. This network is one of the leaders of the industry and even such a big names like WordPress and Twitter have chosen use it. Though for a regular website the network is also ready to offer its services and the website will be secured and optimized and work as fast as possible. There are a number of their resellers that offer no annual contracts and very affordable prices for those services, by the way, and that may be more suitable for mid-sized websites. Check out http://Jodihost.com, for example.

Comments are closed.