Updated on 2024-07-08 GMT+08:00

Overview

CDN caches origin content on PoPs across the globe so that users can obtain content from nearby PoPs. You can modify rules and relevant settings of caches on CDN PoPs.

  • You can modify cache settings of a domain name that is in the Enabled or Configuring state and is not locked or banned.

Function

Description

Cache Rules

You can set the cache TTL and priority for different resources to increase the hit ratio and reduce the back-to-source rate.

Browser Cache TTL

You can set a browser cache TTL, during which users can obtain content directly from their browser cache (if available), reducing origin pulls.

Status Code Cache TTL

You can cache error codes returned by the origin server to CDN PoPs in a specific duration, so that CDN returns the error codes to users when they request content. This can reduce origin pulls and relieve the pressure on the origin server.

  • If you have modified the cache rules and origin cache control settings,
    • Your modifications are effective for new content cached.