All Products
Search
Document Center

Edge Security Acceleration:Configure the edge cache TTL

Last Updated:Jun 05, 2025

If you want to set different edge cache TTLs for different requests, create cache rules and specify cache settings and request characters in the rules.

Note

You can also set global Edge cache TTL.

Procedure

  1. In the ESA console, choose Websites and click the name of the website you want to manage.

  2. In the left-side navigation pane, choose Rules > Cache Rules.

  3. Click Create Rule, and fill in the Rule Name.

  4. In the If Requests Match... area, specify the conditions for matching incoming requests. For more information about how to configure a rule, see Rules.

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

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

  7. Click OK.

Availability

Entrance

Pro

Premium

Enterprise

Minimum edge cache TTL

2 hours

1 second

1 second

1 second