Skip to main content
Defines cache policies for the model. Each policy must have a max_cache_age parameter that defines the time limit for the policy. Omni defaults to the following cache policy and filter suggestion retention period: Note: This parameter allows you to set defaults for the model, but caching policies can also be set at the dashboard level. Editing cache policies in a workbook model or query model effectively applies the policy to the associated dashboard. Refer to the Topics documentation for information about setting topic-level cache policies.

Syntax

cache_policy_name
string
required
A name that uniquely identifies the cache policy.

Examples

Retain filter suggestions for 30 days
Obey cache policy & retain for 24 hours