The cache is handled automatically by QlikView Server or Qlik Sense Engine and should not be cleared manually.
However, in some situations there might be a reason to clear the cache on a regular basis. An example would be memory starvation due to an insufficiently sized system. Enviornment:
QlikView any version
Qlik Sense all verions
The first and obvious way to clear the cache is to restart the QlikView Server or the Qlik Sense engine service.
Another option is to add the following entry in the [Settings 7]
entry in the settings.ini
located in:QlikView:%ProgramData%\QlikTech\QlikView ServerQlik Sense:%ProgramData%\Qlik\Sense\Engine for QlikSense
The value set is the number of times per day the cache will be cleared, synchronized at midnight. A value of 1 will clear the cache once per day at midnight. The number needs to be 1 or higher. Always a natural number.Attention:
Clearing the cache may lead to increased response times from the user's perspective. Use with caution!
Details on how to modify the settings.ini for Sense: How to modify Qlik Sense Engine's Settings.ini