Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

WSO2 Identity Server has multiple cache layers which are used to improve performance.

...

This parameter is used to enable the cache usage for a specific cache layer. If this parameter is disabled, it means that the feature will not cache the value and depending on the feature, will either persist it in a database or not store it at all at the server level.

timeout
Note
Warning

To use the feature mentioned below, apply the 5777 WUM update for WSO2 IS 5.2.0 using the WSO2 Update Manager (WUM).To deploy a WUM update into production, you need to have a paid subscription. If you do not have a paid subscription, you can use this feature with the next version of WSO2 Identity Server when it is released. For more information on updating WSO2 Identity Server using WUM, see Getting Started with WUM.

The default timeout value is 1000s. However if you want to use different timeout values, add the following configuration in the <IS_HOME>/repository/conf/identity/identity.xml file within <CacheConfig> as the first element.

Code Block
<UseDefaultCacheTimeout>false</UseDefaultCacheTimeout>


When a cache entry is added to the cache instance, the start time is recorded and the entry is stored until the time exceeds the timeout value. Once the time reaches the timeout, the cache entry is evicted from the cache. 

...