setCacheOptions method

Note: STABLE.
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

Introduced Qlik Sense February 2018

Parameters

Name Type Description
opts Object

Properties

Name Type Description
enabled Boolean Set to true to enable caching

Returns

-

Example

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

Did this information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?