How CDN Works

Distance to your visitors is the key aspect

Classical Set-Up Without CDN

The classical set-up is that you have a website at one location (one server) in the world. If all your visitors are near to that location then it is usually a well working set-up because all your visitors are being served at a short distance from your server.

But what if you have visitors from around the world?

But what if you want to target global audience? What if your customers are spread around the whole world? Then there is a natural problem. The speed of communication between your server and visitors' browsers through the Internet is very high (approx. 70% of the speed of light) but still it is limited, and on big distances such as the distance between New York and Tokyo or London and Sydney your server is simply too far from your visitors to serve your website flawlessly and your website is slow for far visitors and it is not good for your business. To target global audience you need more servers, you need more points of online presence because you need your website content close to your visitors.

Moreover, there are SEO problems too. Google rankings of your website at countries far from you are not as good as they could be because just like your visitors also Google takes latency (speed) of your website as the key factor for ranking.

How CDNsun works (without)

Content Delivery Network (CDN) Architecture

With Content Delivery Network (CDN) your website's static content (images, CSS, JavaScripts, etc.), which is big in size (compared to HTML files) and thus suffers by high latency the most, will be distributed (cached, mirrored) to more than 50 data centers (PoPs) around the world. The distance between your website content and your website visitors will significantly reduce which will result into game-changing customer experience of your website and also into higher Google rankings.

Moreover, all our CDN edge servers are connected to the fastest and most robust networks of the Internet and they are equipped exclusively with the fastest SSD drives which will increase your online performance even more.

How CDNsun works (with)

How Does CDN Work?

When a visitor requests your CDN content via a CDN domain name (e.g. our DNS engine directs the visitor to the CDN edge server that is closest to the visitor. This ensures significantly faster responses of your website to any visitor from any country in the world.


On the distance over the Atlantic Ocean CDN can cut loading time of your website by 5 seconds. It is indeed an essential difference due to the fact that 80% of people leave a website if it is not loaded under 3 seconds (and 57% of those people will never return).

How Is Content Uploaded to CDN?

Your content is automatically pulled from your website (or your CDNsun storage) by our CDN edge servers at the moment when it is requested by your visitors.

When your visitor requests your CDN content, then the content is automatically pulled from your server (if it is not already cached), then it is served (by a CDN edge server) to the visitor, and then it is cached (stored) on the edge server, and all subsequent requests to that edge server are served from its CDN cache.

Moreover, you can immediately prefetch your content to all CDN edge servers using our dashboard or REST API.

How to Set Up CDN?

For majority of website solutions such as Wordpress, Magento, Joomla, Drupal, etc. you just need to follow few simple steps. Please take a look at our CDN integrations.

In general to use a CDN you need to change source attribute of your static content (images, CSS, JavaScripts, videos, etc.) to point to a CDN URL. That's all.

How to Get More Information?

Our CDN knowledge base is said to be one of the best on the whole Internet! It contains full documentation of our CDN services and its part CDN integrations is aimed to easily guide you through the CDN integration process.

Moreover, we provide 24/7 technical support via phone, email and live chat.

Interested in Our Pricing?

Interested in Our Network?