How to speed up a Webasyst-powered website by 30–70% using CDN

CDN (Content Delivery Network) is a network of web servers distributed over large geographic areas, which enables fast and efficient delivery of static content to website users. Content delivery occurs from the nearest CDN server rather than from your web-hosting server which may be located very far from a user.

Depending on the total size of a particular page, including images, video, large CSS and JavaScript files, the use of CDN increases the loading speed of the entire page by 30—70%. For example, enabling CDN on our website has allowed us to reduce the average page loading time from 5.4 to 3.2 seconds.

Here is how an ordinary website delivers content to visitors, all files are always retrieved from the web-hosting server:

Compare its operation with the use of CDN when data are downloaded from the nearest CDN server:

Important note: CDN distributes only static content, i.e. images, JavaScript, video, CSS, font files, etc. Dynamic content, i.e. HTML content generated by server scripts, is retrieved from the main web-hosting server.

You may learn more about CDN on Wikipedia.

How to enable CDN for a Webasyst-powered website

Every website, blog, or online store powered by Webasyst or Shop-Script 6 can be made faster using the CDN technology, and it is very easy to do so. All you need to do is to save a special CDN URL in the settings.

For a website powered by a Webasyst Cloud account, you can receive CDN URL in your Customer Center (in section Hosting → [cloud account name] → Site acceleration) or in the Cloud app of your cloud account (in section Site acceleration). You may save the generated CDN URL in Site app settings in15 minutes, which are required to allocate storage space for your files on CDN provider's servers.

If your website is hosted somewhere else, then you can receive a CDN URL from a CDN provider with whom you decide to work. Here are some large CDN providers:

Once you have received a CDN URL from your CDN provider, simply save it in Site app's section "Settings" in "CDN" field. This will immediately add the CDN URL to the URLs of all image, CSS, and JavaScript files on your website pages. All such static content will from now on be downloaded from CDN provider's storage servers—always from the nearest server and thus with the maximum speed possible.


    Add comment

    To add a comment please sign up or login

    Раздел помощи работает на основе приложения «Хаб»