Dynamic Route for CDN (DCDN) is commonly used to accelerate the delivery of dynamic content. After you add a domain name to DCDN, you must enable acceleration for dynamic content delivery, and configure acceleration rules for static and dynamic content delivery. Static content is cached on DCDN nodes, and requests for dynamic content are redirected to origin servers based on technologies such as intelligent routing and protocol optimization.

  • To accelerate the delivery of dynamic content, such as PHP, JSP, and ASP files, you can log on to the DCDN console, navigate to the Acceleration Rules page, and then turn on Dynamic Acceleration.
  • To accelerate the delivery of static content, such as images, application packages, JavaScript files, and CSS files, you can create a cache expiration rule based on the file types and update frequency. The maximum time-to-live (TTL) for cached content is three years. For more information, see Configure the static file types.
    File type Update frequency TTL value Example
    Static file Infrequently updated One month or longer Images and application packages
    Static file Frequently updated Less than one month. You can specify a TTL value based on your business requirements. JavaScript and CSS files