setCacheOptions method
Information noteSTABLE.
This API is reliable and breaking changes are unlikely.
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 state | Details |
---|---|
Introduced | Qlik Sense February 2018 |
Parameters
opts
Type: Object
Properties:
Property | Type | Description |
---|---|---|
enabled | Boolean | Set to true to enable caching |
Returns
-
Example
this.backendApi.setCacheOptions({
enabled: false
})