2.2.3.9. Uncache

This plugin is used to uncache the Wiki pages which contain given macros. The configuration can be found in wiki-service/src/main/resources/conf/portal/cache-configuration.xml.

Sample configuration:


<external-component-plugins>
    <target-component>org.exoplatform.wiki.rendering.cache.PageRenderingCacheService</target-component>
    <component-plugin>
        <name>addUnCachedMacro</name>
        <set-method>addUnCachedMacro</set-method>
        <type>org.exoplatform.wiki.rendering.cache.UnCachedMacroPlugin</type>
        <description>Add the uncached macro list</description>
        <init-params>
            <values-param>
                <name>uncachedMacroes</name>
                <value>rss</value>
                <value>jira</value>
            </values-param>
        </init-params>
    </component-plugin>
</external-component-plugins>

In which:

Init-params

Name Type Default value Description
uncachedMacroes String rss, jira The list of uncached macros.
Copyright ©. All rights reserved. eXo Platform SAS
blog comments powered byDisqus