Dynamic and static content acceleration rules

更新时间:
复制 MD 格式

When dynamic acceleration is enabled, dynamic resources are retrieved from the origin server over optimal routes and static resources are cached on points of presence (POPs). You can create custom rules to specify which static files to cache by file type, URI, or path. If you disable dynamic acceleration, custom static file rules are also disabled and only default rules remain.

Usage notes

By default, dynamic acceleration is enabled for domain names that are added to Dynamic Content Delivery Network (DCDN). Take note of the following items when you use dynamic acceleration:

  • DCDN POPs continuously probe the origin server over TCP to detect network quality and select optimal routes. This probing may generate dynamic requests. For more information about the billing rules, see Billing of HTTPS and HTTP requests or QUIC requests.

  • When POPs health-check origin servers, these requests, like regular origin requests, increase the total request count. DCDN has many origin-fetch POPs, so each origin server receives one health check request per second (1 QPS).

  • To stop TCP probes or avoid fees for dynamic requests, disable dynamic acceleration for the domain name in the DCDN console.

The following operations configure acceleration rules for static and dynamic content.

Operation

Description

Configure static file types

If you need to accelerate both dynamic and static resources, you can enable dynamic acceleration and configure rules for static file types. This lets you cache static resources on points of presence (POPs) and retrieve dynamic resources from the origin server over optimal routes.

Specify static file URIs

You can configure URIs of static files that you want to cache. This way, the specified static files can be directly served from POPs, instead of following the acceleration rule for dynamic resources.

Specify static file paths

You can configure file paths of static files that you want to cache. This way, the specified static files can be directly served from POPs, instead of following the acceleration rule for dynamic resources.

Configure dynamic content retrieval settings

Dynamic Content Delivery Network (DCDN) uses the smart routing technology to accelerate the delivery of dynamic content over the most efficient route. Dynamic content retrieval settings refer to configurations of the dynamic origin protocol policy and load balancing. You can configure the settings selectively or all at once based on your actual needs.