Skip to main content Skip to complementary content

setCacheOptions method

Information noteSTABLE.
This API is reliable and breaking changes are unlikely.

backendApi.setCacheOptions(opts)

Sets control caching of page requests.

When enabled, calls to getData are throttled and new requests are created based on internal cache settings. If you want full control of requests to getData, set enabled=false.

Version history

Version history
Version state Details
Introduced Qlik Sense February 2018

Parameters

opts

Type: Object

Properties:

opts properties
Property Type Description
enabled Boolean Set to true to enable caching

Returns

-

Example

this.backendApi.setCacheOptions({
  enabled: false
})

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!