If you want to use different edge cache TTLs in various business scenarios, you can create multiple cache rules and specify different cache settings in the rules.
Feature availability
Basic | Standard | Advanced | Enterprise | |
Minimum edge cache TTL | 2 hours | 1 hour | 1 second | 1 second |
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 tree, 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 Edge Cache TTL section, click Configure and select an option as needed.
Honor Origin TTL or Use Default Cache Rule: Follow the cache rule carried in the origin response if the response contains a header that indicates the TTL. Otherwise, use the default cache rules.
Honor Origin TTL or Do Not Cache: Follow the cache rule carried in the origin response if the response contains a header that indicates the TTL. Otherwise, skip caching entirely.
Do Not Cache: Do not cache any response from the origin server, regardless of whether the response contains a header that indicates the TTL.
Use Custom TTL: Follow the custom TTL that you configure in the ESA console, regardless of whether the response contains a header that indicates the TTL.
Click OK.