How CDN works? | Get the best CDN for your website

Speed is one of the important factors which determines the browser experience to customers. According to Kissmetrics, 40% of people quit the website that takes more than 3 seconds to load. CDN is an effective tool to increase the speed of your website. In this post, we are discussing how CDN works actually.

For those of you are running Magento eCommerce websites, Aspiration CDN can improve the website performance.

The internet is an international network. So, there is a high chance that the visitor is miles and nations away from the server. When the distance between them increases, it means that the packets of data from the user’s computer have to pass through a lot of hubs, routers, bridges, and gateways. This distance has a huge impact on how quickly the visitor is getting the web page.

If the server and the user are closer, this distance to be traveled is less and the page will load faster. A CDN helps to reduce this distance and thereby loading the page faster. Let’s see what is a CDN and how CDN works.

What is a CDN?

CDN is a network of servers distributed around the world in order to accelerate the delivery of web pages. Read more about CDN…

To know how a CDN works, first, we have to get familiar with certain terms like origin servers, PoPs etc…

1. Origin Servers

The origin server is where your website files are actually hosted. For example, the origin servers of Aspiration Hosting are at California, London, Singapore, and Sydney.

Origin servers of Aspiration Hosting

This means that without a CDN all of your customers have to request web pages from the server at London. And all the responses from the server side will also be from the server at London.

2. Edge server

Edge servers are used to cache and store content retrieved from the origin server. The physical location of the server is called a PoP (point of presence).

content delivery network of aspiration hosting - How CDN works

Edge servers of Aspiration Hosting

How CDN Works?

The major component behind the functionality of CDN is caching. The data is cached and stored in the edge servers.  Here is how CDN works.

  1. A visitor from a particular location visits your website for the first time.
  2. The webpage the customer requested is retrieved from the origin server, cached and stored in the nearest PoP to the user’s location.
  3. When the same user makes the request for the same content again, the CDN PoP’s will check whether the cached asset is available on the edge server. If it is available, the visitor will get a response from the edge server.

FREE Aspiration CDN is included for selected Cloud Web Hosting plans and our Dedicated Cloud Server. So you don’t have to spend your money to buy additional CDN.