Dynamic and static content acceleration rules
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 |
If you need to accelerate both dynamic and static resources, you can enable dynamic acceleration and define custom acceleration rules for static resources by configuring static file types. This ensures static files use a more suitable acceleration method, allowing them to be cached on points of presence (POPs) while requests for dynamic resources use optimized routing for origin fetches. | |
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. | |
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. | |
DCDN accelerates dynamic content delivery by using smart routing to select the optimal back-to-origin path. You can configure the origin protocol policy and load balancing independently or together based on your needs. |