Rule Engine

Rules Engine is a feature that allows customers to customize request handling operations or adjust data storage (Caching) configurations on the CDN system based on pre-established rules.

  • Optional Rules: These consist of one or more conditions, and when an incoming request satisfies the rule’s conditions, the CDN system will execute the actions declared within that rule.
  • Default Rule: This is the rule that is executed when no optional rules are configured, or after checking the conditions of all optional rules and none of them are met.

Scenarios for using the rule engine

  • Configure Cache Bypass for specified files or directories (e.g., files with the .aspx extension).

    Configure bypass cache

  • Set the Cache Time on the CDN. After a specified period (in seconds), the entire cache will be updated. (Suitable for news sites, information that needs frequent content updates, etc.)

Configure the cache time on the CDN