All Products
Search
Document Center

Edge Security Acceleration:Configure the edge cache TTL

Last Updated:Sep 19, 2024

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

  1. Log on to the ESA console.

  2. In the left-side navigation pane, click Websites.

  3. On the Websites page, find the website that you want to manage, and click the website name or View Details in the Actions column.

  4. In the left-side navigation tree, choose Caching > Cache Rules.

  5. Click Create Rule and specify the Rule Name parameter.

  6. In the If requests match... section, specify the conditions for matching incoming requests. For more information about how to configure a rule, see Overview.

  7. In the Bypass Cache section, specify whether to bypass cache. For more information, see Bypass cache.

  8. 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.

  9. Click OK.