Help Center> Content Delivery Network> FAQs> Cache Settings> What Are the Default Cache Rules? Can I Modify the Cache Age?
Updated on 2023-08-25 GMT+08:00

What Are the Default Cache Rules? Can I Modify the Cache Age?

Each domain name is configured with one or more default cache rules.

  • If the service type is website acceleration, file download acceleration, or on-demand service acceleration, and the origin server address is an origin IP address or origin domain, two default cache rules are available.
    • The default maximum cache age for common dynamic files (for example, .php, .jsp, .asp, and .aspx files) is 0. CDN pulls content from the origin server directly when receiving requests for such dynamic files. You can modify and delete this rule.
    • The default maximum cache age for all files is 30 days. You can modify but cannot delete this rule.

If you want to change the maximum cache age, choose Domains > Configure > Cache Settings on the CDN console to change it.

Cache Settings FAQs

more