Checks whether an Alibaba Cloud CDN cache and the cache expiration time are specified for the domain name. If so, the evaluation result is Compliant.
Scenarios
The resource cache duration affects the back-to-origin routing frequency. Specify a proper cache duration based on your business requirements.
Risk level
Default risk level: high.
When you apply this rule, you can change the risk level based on your business requirements.
Compliance evaluation logic
- If an Alibaba Cloud CDN cache and the cache expiration time are specified for each domain name, the evaluation result is Compliant.
- If an Alibaba Cloud CDN cache and the cache expiration time are not specified for a domain name, the evaluation result is Incompliant. For more information about how to remediate an incompliant configuration, see Incompliance remediation.
Rule details
Item | Description |
---|---|
Rule name | cdn-domain-enabled-cache |
Rule identifier | cdn-domain-enabled-cache |
Tag | CDN and Domain |
Automatic remediation | Not supported |
Trigger type | Periodic execution |
Evaluation frequency | Interval of 24 hours |
Supported resource type | Domain name |
Input parameter | None. |
Incompliance remediation
Configure a cache expiration rule. For more information, see Add a cache rule.