Pre-caching using the Qlik Sense Scalability Tools (.NET SDK)
Pre-caching is used to trigger certain selections and actions in an app in order to have the calculations cached. This can save valuable time as fetching something from the cache is much faster than performing the needed calculations when the first users enter the system.
During a restart of the Qlik Associative Engine all cached result sets are purged and during a reload, when the source data is modified, the result sets from previously cached calculations become invalid. So, to avoid poor performance for the first users after a restart, the unloading of an app, or a reload it may be beneficial to pre-cache common calculations.
The SDKExerciser in the Qlik Sense Scalability Tools can be used to perform pre-caching in Qlik Sense and Qlik Sense Enterprise for Windows (QSEfW) deployments (that is, deployments based on Microsoft Windows).
For information on the SDKExerciser settings, see the documentation for the Qlik Sense Scalability Tools.
Note: When calling the pre-caching script from the batch file, make sure to use the SDKExerciser module version ("Feb2019" in the example above) that corresponds to your Qlik Sense version.
3.
Select a scheduling mechanism (for example, the Task Scheduler in Microsoft Windows) and configure it to run the batch file when needed.