ICacheSettings interface
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Properties
cached |
Returns the Card View used to generate the cached card. By default, the currently rendered Card View will be used to cache the card. |
expiry |
Expiry time in seconds. Default: 86400 seconds (24 hours) |
is |
Whether cache is enabled. Default: true |
Property Details
cachedCardView
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Returns the Card View used to generate the cached card. By default, the currently rendered Card View will be used to cache the card.
cachedCardView?: () => BaseCardView;
Property Value
() => BaseCardView
expiryTimeInSeconds
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Expiry time in seconds. Default: 86400 seconds (24 hours)
expiryTimeInSeconds: number;
Property Value
number
isEnabled
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Whether cache is enabled. Default: true
isEnabled: boolean;
Property Value
boolean