Set the cache rules of Dynamic Route for Content Delivery Network (DCDN).

Request parameters

Parameters Type Required Example values Description
Action String Yes Setdynamicconfig The name of this interface. Value: SetDynamicConfig
DomainName String Yes Your CDN domain name.
DynamicCacheControl String No no-cache

Special header settings.

  • Depending on the cache-control field in the Header, select whether to accelerate dynamically. Multiple are separated by spaces.
  • Example: no-cache no-store private
DynamicOrigin String No http

Back-to-source routing scheme, supporting http, https, and follow.

When left blank, the default value is http.

StaticPath String No /Img

Static acceleration PATH. Multiple are separated by spaces.

Example: #path:/path/to/no_dynamic_route/

StaticType String No jpg

Static acceleration file suffix.

Example:  ..(jpg¦htmp¦txt)$

StaticUri String No /img/a.jpg

Static acceleration URI. Multiple are separated by spaces.

Example: #uri:/yyy/gggsssssssss/cxxxxxcc/a.txt

Return parameters

Parameters Type Example values Description
RequestId String 16A96B9A-F203-4EC5-8E43-CB92E68F4CD8 Request ID


Request example
&StaticType=. *\.(jpg|htmp|txt)$
&public request parameters
Normal return example
  • JSON format

Exception return example
  • JSON format

        "Message":"The request processing has failed due to some unknown error.",