You are here: Reference > Data classes > Keystores > Changing the default keystore caching settings
Changing the default keystore caching settings
You can change the values of the KeyStoreCacheExpireTime and KeyStoreCacheSize settings to control how often the keystore cache is refreshed and restrict cache size. The lower the values, the less memory is used, but processing power is reduced.
When you create a Keystore data instance, you select the reference, from which the keystore entries are sourced.
- If you choose or , Pega Platform caches the keystore entries for the time set in the Cache
keystore field.
- If you choose , Pega Platform caches the keystore entries for the time set in the KeyStoreCacheExpireTime Dynamic System Setting.
- If you select , Pega Platform caches the keystore entries for the time set in the KeyStoreCacheExpireTime Dynamic System Setting, provided that you do not populate the Load Management tab,
Refresh strategy area.
To change the values of the KeyStoreCacheExpireTime and KeyStoreCacheSize settings, do the following steps.
- In the Designer Studio search field, enter the name of the Dynamic System Setting that you want to modify and press Enter.
- In the list of results, click the Dynamic System Setting that you want to modify:
KeyStoreCacheExpireTime - Stores the default caching time of the keystore entries (in seconds). The default value is 3600.
KeyStoreCacheSize - Stores the number of keystore entries that can be held in cache. The default value is 150. It is recommended to set the value to no less than 50.
- Change the value in the Value field.
- Click Save.
- Repeat steps 1 thru 4 for each Dynamic System Setting that you want to modify.
Open topic with navigation