Dynamic Route for CDN (DCDN) communicates with the origin server by using the specified dynamic origin protocol policy when DCDN requests dynamic resources. If you specify the Match Client policy, DCDN communicates with the origin server over HTTP or HTTPS, depending on the protocol of the client request. By default, DCDN communicates with the origin server depending on the origin port settings when DCDN requests dynamic resources.
- Enable dynamic acceleration
To accelerate the delivery of static and dynamic resources, you must turn on Dynamic Acceleration. You can customize acceleration rules for static and dynamic resources based on your business requirements. Then, the delivery of static and dynamic resources are accelerated based on these custom acceleration rules. You can customize the file types, the Uniform Resource Identifiers (URIs), and the directories of static resources that can be cached in the DCDN cache nodes. You can also set the origin protocol policy for DCDN to retrieve dynamic resources from the origin server.
- Disable dynamic acceleration
If you do not need to accelerate the delivery of dynamic resources, you can turn off Dynamic Acceleration. After dynamic acceleration is disabled, the dynamic resources are delivered without acceleration. Static resources are delivered based on edge caching. Only the default static file acceleration rules are valid. All the static file acceleration rules that are manually added become invalid.
- Log on to the DCDN console.
- In the left-side navigation pane, click Domain Names.
- On the Domain Names page, find the domain name that you want to manage, and click Configure in the Actions column.
- In the left-side navigation pane on the details page of the specified domain, click Acceleration Rules.
- Turn on Dynamic Acceleration.
- On the Dynamic Origin Protocol Policy tab, click Modify.
- In the Dynamic Origin Protocol Policy dialog box, specify Redirect Type.
Parameter Description Match Client DCDN communicates with the origin server over HTTP or HTTPS, depending on the protocol of the client request. HTTP DCDN communicates with the origin server over only HTTP. HTTPS DCDN communicates with the origin server over only HTTPS.
- Click OK.