Dynamic Route for CDN (DCDN) allows you to identify static files by file path. DCDN no longer uses dynamic acceleration to deliver the specified static files. Instead, DCDN uses static acceleration and allocates the optimal nodes for caching and delivery.

Background information

The following acceleration rules are applicable to both static and dynamic resources:
  • Enable dynamic acceleration

    To accelerate the delivery of static and dynamic resources, you must turn on Dynamic Acceleration. You can configure acceleration rules for static file types based on your business requirements. Then, static and dynamic resources are distributed 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 on DCDN nodes.

  • Disable dynamic acceleration

    If you do not want to accelerate the delivery of dynamic resources, you can turn off Dynamic Acceleration. After dynamic acceleration is disabled, the dynamic resources are distributed without acceleration. Static resources are distributed based on edge cache rules. Only the default static file acceleration rules are valid. All custom static file acceleration rules 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 of the domain name, click Acceleration Rules.
  5. Turn on Dynamic Acceleration.
  6. On the Static Paths tab, click Modify.
    Static paths
  7. In the Static Paths dialog box, specify Static Paths.
    Static paths
    Note You can use wildcards for a fuzzy search of static file paths. Asterisks (*) and question marks (?) can be used as wildcards. The asterisk (*) represents zero, one, or more characters, and the question mark (?) represents one character.
  8. Click OK.