CDN Acceleration

CDN Acceleration

Content Delivery Network (CDN) is a smart virtual network on the Internet infrastructure. CDN can cache origin content on nodes closer to users, so content can load faster. CDN speeds up site response and improves site availability. It breaks through the bottlenecks caused by low bandwidth, heavy access traffic, and uneven distribution of edge nodes.

Get content delivered from 2,800+ edge nodes from popular carriers in six continents. Bandwidth reaches 150 Tbit/s network-wide.

CDN Acceleration Best Practices
CDN Accelerating OBS Resources

Huawei Cloud CDN can effectively accelerate websites to deliver a better user experience. OBS buckets can store massive numbers of files. Storing data in OBS buckets and using CDN for service acceleration can both reduce costs and improve user experience

CDN Accelerating ECS Resources

Huawei Cloud CDN can effectively accelerate websites to deliver a better user experience. If you use CDN to accelerate ECS resources, you can improve user experience at low costs. 

CDN Accelerating WAF Resources

If your websites have high requirements on security and acceleration, you can associate Huawei Cloud CDN with WAF to accelerate websites and defend against web attacks.

Setting the Maximum Cache Age

CDN caches origin content on globally distributed nodes so that users can obtain the content from nearby nodes. On the CDN console, you can set the maximum cache age for origin content of different file types based on service requirements.

Improving the Cache Hit Ratio

If the CDN cache hit ratio is low, the pressure on the origin server is high and the static resource access efficiency is low. You can select an optimization policy based on the cause of the low cache hit ratio to improve the cache hit ratio. In CDN, the cache hit ratio includes the traffic hit ratio and request hit ratio.

Obtaining Real IP Addresses of Users

After a website is connected to CDN for acceleration, IP addresses obtained by the origin server from IP address headers are not the real IP addresses of users. You can configure your web server to obtain the real IP addresses of users.

CDN Acceleration Troubleshooting
Can't Access a Web Page or Play a Video After Enable CDN?

Check whether the CDN origin server is faulty, whether CDN acceleration is enabled for the domain name, status code and domain name configuration, and whether your account has outstanding payments.

Displayed or Downloaded Content Incorrect After CDN Acceleration Is Used

Check whether the cache rule is incorrectly set, whether the local cache is faulty, whether the node is not refreshed after the resource is updated, whether files on multiple origin servers are inconsistent, and whether the access resource is hijacked.

4XX Status Code When Request Resources from My Acceleration Domain Name

Check whether your origin server can be accessed, whether your access address complies with referer anti-leeching rules, and whether your IP address blocklist and trustlist and UA blocklist and trustlist are configured.

5XX Status Code When Request Resources from My Acceleration Domain Name

Check whether the origin server is abnormal, whether the bandwidth and traffic increase sharply, and whether cache rules are configured on the origin server.

Status Code 301 or 302 After CDN Acceleration Resources Are Accessed

Check your HTTPS configuration. If the retrieval mode configured on the CDN console is HTTP and forcible redirection HTTPS is enabled on your origin server, cyclic redirection will occur.

CDN Permission Troubleshooting

If you are using CDN as an IAM user with insufficient permissions, view each permission on Permissions Management and ask the account administrator to assign the required permissions to you by referring to Creating a User and Granting CDN Permissions.

1- to-1 Customer Service

Contact Now

CDN Acceleration Trial Process

  • Hide Show
    Enabling CDN Hide Show

    Enable CDN before you use it.

  • Hide Show
    Adding a Domain Name Hide Show

    If you want to use CDN to accelerate your business, add the domain name of your site to CDN. CDN caches origin content on edge nodes so that your content loads faster.

  • Hide Show
    Configuring CNAME Hide Show

    If you have added a domain name, the system automatically assigns a CNAME record to it. The CNAME record cannot be accessed directly. You must add the CNAME record to your domain's DNS records. Then requests for your domain name will be redirected to CDN nodes for acceleration.

  • Hide Show
    Checking the CNAME Record Hide Show

    The length of time before the CNAME record takes effect depends on the DNS provider.

  • Hide Show
    Cache Preheating and Refreshing Hide Show

Huawei Cloud CDN Node Distribution

Chinese Mainland

Node Distribution in the Chinese Mainland

Beijing, Tianjin, Hebei, Shanxi, Inner Mongolia, Shandong, Jiangsu, Anhui, Zhejiang, Fujian, Shanghai, Jiangxi, Hubei, Hunan, Henan, Guangdong, Guangxi, Hainan, Sichuan, Yunnan, Guizhou, Tibet, Chongqing, Ningxia, Xinjiang, Qinghai, Shaanxi, Gansu, Liaoning, Jilin, and Heilongjiang

Outside Chinese Mainland

Node Distribution Outside the Chinese Mainland (Divided Based on Huawei's Internal Businesses)

  • Asia

    Hong Kong (China), Macao (China), Taiwan (China), Japan, South Korea, Vietnam, India, Indonesia, Thailand, Philippines, Singapore, Malaysia, Cambodia, Laos, Kyrgyzstan, Brunei, Myanmar, Nepal, Bangladesh, Mongolia, Sri Lanka, Kazakhstan, Georgia, Armenia, Uzbekistan, Cyprus, and Azerbaijan

  • Europe

    United Kingdom, Germany, France, Netherlands, Spain, Italy, Ireland, Sweden, Belgium, Austria, Poland, Romania, Belarus, Portugal, Türkiye, Moldova, Bulgaria, Latvia, Switzerland, Czech Republic, Hungary, Luxembourg, and Greece

  • Oceania

    Australia, New Zealand, and Fiji

  • Middle East and Africa

    United Arab Emirates, Saudi Arabia, Pakistan, Qatar, Oman, Kuwait, Bahrain, Iraq, South Africa, Egypt, Kenya, Tanzania, Madagascar, Djibouti, Mauritius, Ghana, Angola, Nigeria, Jordan, Yemen, and Israel

  • South America

    Brazil, Chile, Argentina, Peru, Colombia, and Ecuador

  • North America

    United States, Canada, and Mexico

CDN Acceleration FAQ

CDN Acceleration FAQ

  • What Is CDN Acceleration?

    CDN is a good option for websites that consist of both dynamic and static content and for sites that involve a large number of ASP, JSP, or PHP requests.

    CDN's whole site acceleration accelerates both dynamic and static content. Static content can be served from nearby nodes, whereas dynamic content is retrieved from the origin server through the fastest possible route.

    Typically, CDN loads dynamic pages more quickly by bypassing congested routes.

    • If you enable whole site acceleration, in addition to the basic cost, requests will be billed ($0.023 USD for 10,000 requests). For details, see Pricing Details.

    • You can enable whole site acceleration for a domain name on the Domains page of the CDN console.

  • What Service Types Does CDN Acceleration Support?

    • Website acceleration

    CDN is perfect for web portals, e-commerce platforms, information apps, and UGC-focused apps. It can accelerate the delivery of images and small HTML, CSS, and JS files.

    File download acceleration

    CDN is suitable for websites, game clients, and app stores that provide file download services, and download tools. It is used in scenarios such as downloading game installation packages and application packages, and updating the ROM on mobile phones.

    On-demand service acceleration

    For customers providing on-demand audiovisual services, CDN is a must. On-demand services include online education, video sharing, music or video on demand, and other audiovisual content.

    Whole site acceleration

    CDN is a good option for websites that consist of both dynamic and static content and for sites that involve a large number of ASP, JSP, or PHP requests.

  • Does CDN Acceleration Have a Speed Limit?

    No.

    There is no default speed limit for acceleration domain names.

  • What Origin Types Does CDN Acceleration Support?

    CDN acceleration supports the following origin types: origin IP addresses, origin domain names, and object storage bucket domain names. An origin server can be deployed on Huawei Cloud, other cloud service providers, or Internet Data Centers (IDCs) , and there is no requirement on the location of the origin server. For details about how to access CDN, see Adding a Domain Name.

    If you use an object storage bucket of a non-Huawei Cloud service provider as the origin server, configure the origin server on the CDN console by referring to How Do I Configure an Origin Server When It Is a Non-Huawei Cloud Object Storage Bucket?

  • Does CDN Acceleration Support Acceleration for a Single Web Page?

    Yes.

    If you want to accelerate some resources on a website, you can set an independent domain name for the website resources to be accelerated and then configure CDN acceleration.

  • Does CDN Acceleration Support POST Requests?

    No.

    POST requests are dynamic interaction requests. If you have only configured website acceleration, download acceleration, or on-demand service acceleration, CDN does not accelerate these requests.

    If your website contains a lot of dynamic content, you can configure whole site acceleration. Whole site acceleration accelerates both dynamic and static content. Static content can be served from nearby nodes, whereas dynamic content is retrieved from the origin server through the fastest possible route.

  • Will User Access from Other Regions Be Accelerated If I Select Chinese Mainland or Global (Chinese Mainland Not Included) as My Service Area?

    • If you select Chinese mainland, users outside the Chinese mainland can also access CDN nodes in the Chinese mainland. However, due to cross-border network conditions, the acceleration will not be as noticeable as it is for access from within the Chinese mainland. In the worst-case scenario, your domain name may become inaccessible.

    • If you select Global (Chinese mainland not included), users in the Chinese mainland can also access CDN nodes outside the Chinese mainland. However, due to cross-border network conditions, the acceleration will not be as noticeable as it is for access from within the Chinese mainland. In the worst-case scenario, your domain name may become inaccessible.

  • Is the CDN Acceleration Service Area Related to the Origin Server Location and ICP Filing?

    • CDN service area and origin location

    The service area of a domain name has nothing to do with the origin location.

    • CDN service area and ICP filing

    Whether a domain name needs to be licensed does not depend on the region of the domain name provider or the area where the website server is located. All that matters is the service area of your domain name. If the service area includes the Chinese mainland, the domain name must be licensed by the MIIT before being added as an acceleration domain name.

    If your service area is Global (Chinese mainland not included), ICP filing is not required.

  • What If the ICP License of My Acceleration Domain Name Expires?

    Impacts

    • If you obtain a new license before the original one expires, your CDN service will not be affected.

    • If a license has expired and you have not obtained a new license, CDN bans the domain name and the acceleration service for it.

    Solutions

    Apply to the Ministry of Industry and Information Technology (MIIT) for a new license.

    1. Have your domain name reviewed.

    2. After your domain name has reviewed, you can enable CDN for the domain name. You can apply to review the domain name on the CDN console. For details, see Reviewing a Domain Name.

  • Do I Need to Register My Domain Name with Huawei Cloud Before Using CDN Acceleration?

    If your domain name has an ICP license number, then you can directly use CDN.

CDN Acceleration Tutorial Videos

Purchasing CDN Acceleration Service

05:45

Purchasing CDN Acceleration Service

Adding an Acceleration Domain and Configuring CNAME

02:50

Adding an Acceleration Domain and Configuring CNAME

Configuring CDN Acceleration

05:30

Configuring CDN Acceleration

Sign up and start an amazing cloud journey

Try Free

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more