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.

Background information

The following acceleration rules are applicable to dynamic and static 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.

Procedure

  1. Log on to the DCDN console.
  2. In the left-side navigation pane, click Domain Names.
  3. On the Domain Names page, find the domain name that you want to manage, and click Configure in the Actions column.
  4. In the left-side navigation pane on the details page of the specified domain, click Acceleration Rules.
  5. Turn on Dynamic Acceleration.
  6. On the Dynamic Origin Protocol Policy tab, click Modify.
    Dynamic origin protocol policy
  7. In the Dynamic Origin Protocol Policy dialog box, specify Redirect Type.
    Dynamic origin protocol policy
    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.
  8. Click OK.