Check CDN Performance
If you encounter errors or slow content loading via CDN, check the following:
- balance;
- CDN resource;
- content download speed from the origin and via CDN.
Check balance
- In the control panel, on the top menu, click Products and select CDN.
- Check your account balance in the top-right corner and the CDN resource status. If the balance is negative and the CDN resource is in
INACTIVEstatus, the CDN resource was disabled for non-payment. - To enable the CDN resource, top up your balance to cover the debt, then enable the CDN resource.
Check CDN resource
The check will show the CDN resource status, the correctness of the CNAME record, and the availability of the file from the origin and CDN server.
-
In the control panel, on the top menu, click Products and select CDN.
-
Check the status in the CDN resource row. If the resource status is
ERRORor it is stuck in one of the statuses, create a ticket. -
Open the file on the content source using a link like
example.com/images/image.png. If the file does not load, the issue is on your website side. -
Open the file via the default domain using a link like
*.selcdn.net/images/image.png. The default domain can be found in the control panel: in the top menu, click Products → CDN → resource row. If the file does not load, check the Host header. -
Open the file via a custom domain using a link like
cdn.example.com/images/image.png. You can view the custom domain in the control panel: in the top menu click Products → CDN → resource string. If the file does not load, check that the domain CNAME record is correct.
Check content download speed
When you access content from the origin for the first time, loading the file takes longer than during subsequent requests, when the file is served from the cache.
-
Ensure that you have disabled VPN or proxy on the device you are using for testing — these can slow down the download speed.
-
Check the download speed from the origin:
2.1. Open the file on the content origin.
2.2. View the file download speed; to do this, open developer tools in your browser → Network tab → view the value in the Time column.
-
Upload the file to the CDN cache; to do this, open the file on a domain used for delivering content via CDN. Domains can be viewed in the control panel: in the top menu click Products → CDN → the CDN resource page → the General tab.
-
Check the download speed from the CDN cache:
4.1. Open the same file on the CDN domain that you opened in step 3.
4.2. View the file download speed; to do this, open developer tools in your browser → Network tab → view the value in the Time column.
-
Compare the download speed of the file from the source and from the CDN cache. If the download speed via CDN is higher than or equal to the download speed from the source, the CDN is working correctly. If the download speed via CDN is lower, submit a diagnostic request.
Request diagnostics
-
Record an HTTP session demonstrating the CDN error in HAR file format. For more details on recording a HAR file for Edge, Firefox, or Chrome, see the instructed How to get a HAR file on the Google Admin Toolbox portal.
-
Create a ticket to request diagnostics. Provide the following in the ticket:
- CDN resource name;
- link to the file on the domain used for content delivery via CDN;
- HAR file that you created in step 1;
- scale of the issue and the location of users experiencing it.