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

Properties

string
required
A map of cache policy objects where each key is the name of a cache policy. Cache policy names must be unique.

Examples

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