My website is still slow after it’s connected to Tencent Cloud CDN.
This example shows you how to run nslookup
to check the DNS record of a CDN acceleration domain name:
Run `nslookup` for the acceleration domain name
If the result domain name is not suffixed with dnsv1.com
as shown above, then the CDN acceleration service for your domain name is not in effect. Please check the CNAME record of the domain name at the DNS service provider as instructed in CNAME Configuration.
Log in to the CDN console, select Domain Management on the left sidebar, click Manage on the right of a domain name to enter its configuration page, and switch to the Cache Configuration tab to find the Node Cache Validity Configuration section.
Cache-Control
is set as no-store/no-cache/private
for your origin server.For more configuration rules, please see Node Cache Validity Configuration (New).
It is normal that the speed is slow when accessing a resource for the first time which has not been prefetched before. Please log in to the CDN console, click Purge and Prefetch on the left sidebar, and then submit the URL for prefetch. For more information, please see Prefetch Cache.
Requests for dynamic resources are always forwarded to the origin server to pull the latest resources, slowing the access speed. If your website has many dynamic resources, we recommend separating them from static resources and using CDN for your static resources only.
Was this page helpful?