You can create cache rules to bypass cache reserve for specific requests, such as those destined for popular resources. This helps reduce storage space occupied by cache reserve.
Prerequisites
An Enterprise plan has been purchased for your website.
The cache reserve feature has been enabled and a cache reserve instance has been purchased. For more information, see Cache reserve.
Procedure
Log on to the ESA console.
In the left-side navigation pane, click Websites.
On the Websites page, find the website that you want to manage, and click the website name or View Details in the Actions column.
In the left-side navigation pane, choose
.Click Create Rule and specify the Rule Name parameter.
In the If requests match... section, specify the conditions for matching incoming requests. For more information about how to configure a rule, see Overview.
In the Bypass Cache section, specify whether to bypass cache. For more information, see Bypass cache.
In the Cache Reserve Eligibility section, click Configure and select a policy.
Bypass Cache Reserve: Requests that hit the conditions you configured bypass the cache reserve instance and go to your origin server.
Eligible for Cache Reserve: Requests that hit the conditions you configured go to the cache reserve instance. This reduces the number of origin requests and relieves pressure on the origin server.
Click OK.
Feature availability
Feature | Entrance | Pro | Advanced | Enterprise |
Cache Reserve Eligibility | No | No | No | Yes |