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

Default cache and filter suggestion retention

Examples

Retain filter suggestions for 30 days

Retain filter suggestions for 30 days

Obey cache policy and retain for 24 hours

Obey cache policy & retain for 24 hours

Reset cache daily at 6AM UTC

Reset the cache every day at 6am UTC