2.1.3.6.3. WCM

The WCMService component allows setting expiration cache of portlets and checking given portals if they are shared portals or not. It also gets reference contents basing on item identifiers. The configuration of this component is found in /core/core-configuration/src/main/webapp/WEB-INF/conf/wcm-core/wcm-configuration.xml.


<component>
    <key>org.exoplatform.services.wcm.core.WCMService</key>
    <type>org.exoplatform.services.wcm.core.impl.WCMServiceImpl</type>
    <init-params>
        <properties-param>
            <name>server.config</name>
            <description>server.config</description>
            <property name="expirationCache" value="${wcm.cache.wcmservice.expirationcache:30}" />
        </properties-param>
    </init-params>
</component>

Details:

Properties-param Property name Type Value Description
server.config expirationCache integer ${wcm.cache.wcmservice.expirationcache:30} The period in which the cache is cleared in seconds. By default, the cache is cleared every 30 seconds.
Copyright ©. All rights reserved. eXo Platform SAS
blog comments powered byDisqus