3.16.2. Commons caches

Currently, eXo Platform provides 1 Common cache named SettingCache that is used for all modules in eXo Platform.

This cache is handled by SettingService that can be overridden in the exo.properties file.


#== COMMONS Caches Configuration == #

# Commons Cache Configuration - Settings Service
#  - Standalone (live time in seconds)
exo.cache.commons.SettingService.Capacity=2000
exo.cache.commons.SettingService.TimeToLive=60000
#  - Cluster (expiration in milliseconds)
exo.cache.commons.SettingService.MaxNodes=2000
exo.cache.commons.SettingService.ExpirationTimeout=6000000

The specific configuration of SettingCache can be found in the file:

SettingCache

The SettingCache caches the setting value for all contexts and all scopes. When any users ask for the cached setting value, it will be retrieved from cache rather than the database.

Copyright ©. All rights reserved. eXo Platform SAS
blog comments powered byDisqus