To retrieve and display content faster, eXo Platform uses some cache services that can be found in:
$PLATFORM_TOMCAT_HOME/gatein/conf/configuration.properties
(in Tomcat).
$PLATFORM_JBOSS_HOME/standalone/configuration/gatein/configuration.properties
(in JBoss).
The cache configuration section in the configuration.properties
file defines properties and their values for caches of eXo Platform.
If these properties are not defined in the configuration.properties
file, the default values set in specific XML configurations are then used.
For example, consider the following configuration (that is in a specific XML configuration):
...
<field name="maxSize">
<int>${gatein.cache.mop.maxsize:2000}</int>
</field>
<field name="liveTime">
<long>${gatein.cache.mop.livetime:600}</long>
</field>
...
If the gatein.cache.mop.maxsize
property is already defined in configuration.properties
(for example, 5000),
the value of maxSize will be 5000.
If the gatein.cache.mop.maxsize
property is not defined in configuration.properties
,
the value of maxSize will be 2000.
See Basic concepts for explanation of properties used for eXo Platform caches.
More details about the eXo Platform caches can be found in:
eXo Cache in Foundation Reference Guide.
Cache Levels in User Guide.
See also