All Products
Search
Document Center

Edge Security Acceleration:Edge cache TTL

Last Updated:Sep 19, 2024

The edge cache time-to-live (TTL) is the period of time during which origin resources are cached on Edge Security Acceleration (ESA) points of presence (POPs). When the TTL ends, resources that are cached on POPs are marked as expired. If the requested resource has expired on a POP, the POP retrieves the most recent resource from the origin server and caches it. You can configure a cache TTL for static resources based on file directories or file name extensions.

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

  5. In the Edge Cache TTL section, click Configure and select a cache policy.

    image

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

  6. Click OK.