2.13.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 in the configuration.properties file.


# == COMMONS Caches Configuration == #
# Commons Cache Configuration - Settings Service
#  - Standalone (live time in seconds)
cache.exo.commons.SettingService.Capacity=2000
cache.exo.commons.SettingService.TimeToLive=60000
#  - Cluster (expiration in milliseconds)
cache.exo.commons.SettingService.MaxNodes=2000
cache.exo.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