How to test CDN speed improvements

1 minute read

Our CDN trial period is a great time to test improvements which Content Delivery Network will bring to your site. Let me present you some tools and commands you can use to check whether your CDN is up and running and most importantly how faster it is compared to your original website.

Windows

Check if CDN URL is returning status 200
– You can insert CDN URL here: http://www.webconfs.com/http-header-check.php
– One of first lines in output should look like: HTTP/1.1 200 OK
– If CDN is in about 20 minutes after creation returning error 400, please contact our support
– If your CDN is returning Moved Temporary 301, please check if you don’t have as origin set redirected version of your web page.

Check if your CNAME is returning status 200 (if you would like to use CNAME)
– Check your CNAME same ways as with CDN URL before.
– If the response of the tool is curl: (6) Could not resolve host: CNAME; nodename nor servname provided, or not known please check if you have your CNAME added into your DNS record. If you are experiencing any problems with DNS please contact us.

When everything is returning Status 200, you are ready to use your CDN.

How to check, how much faster the webpage will be
– Run command line (Start -> Search applications, insert “cmd”)
– Run command – ping -n 10 CDN URL
– Run command – ping -n 10 Origin
– Compare times. If the loading time from your origin is lower, please check where exactly is located your webserver and our nearest PoP.

Linux or Mac

Check if CDN URL is returning status 200
– In your terminal run command curl -I CDN URL
– One of first lines in output should look like HTTP/1.1 200 OK
– If CDN is in about 20 minutes after creation returning error 400, please contact our support
– If your CDN is returning Moved Temporary 301, please check if you don’t have as origin set redirected version of your web page.

Check if your CNAME is returning status 200 (if you would like to use CNAME)
– Check your CNAME same ways as with CDN URL before.
– If the response of the tool is php_network_getaddresses: getaddrinfo failed: Name or service not known (0) please check if you have your CNAME added into your DNS record. If you are experiencing any problems with DNS please contact us.

When everything is returning Status 200, you are ready to use your CDN.

 

Get our news right away