You can configure a unique cache policy for each cache rule to set different browser cache TTLs.
Procedure
In the ESA console, select Websites. In the Website column, click your target site.
In the left navigation pane, choose .
Click Create Rule and specify a Rule Name.
In the If requests match... section, specify the match conditions for user requests. For details on configuring a rule expression, see Composition of a rule expression.
In the Cache Eligibility section, specify whether to bypass cache. For more information, see Cache eligibility.
In the Browser Cache TTL section, click Configure, set the browser cache TTL for the custom cache rule, and then click OK.
-
Honor Origin TTL: Browsers use the caching policy from the origin. If the origin specifies no caching policy, the ESA point of presence (POP) does not add or modify caching headers.
-
Do Not Cache: Browsers do not cache any resources from ESA, even if the origin provides a caching policy.
-
Use Custom TTL: Browsers use the TTL set in ESA, regardless of the origin's cache policy.
-
Related documentation
Rule-related features vary in effective priority, reentrancy, and effective granularity. For details, see Characteristics of rule-based features.