
commerce.broadleaf-contentmanagement-module.1.6.1-GA.source-code.bl-cms-ehcache.xml Maven / Gradle / Ivy
<!-- ~ Copyright 2008-2009 the original author or authors. ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. --> <ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <diskStore path="java.io.tmpdir"/> <defaultCache maxElementsInMemory="100000" eternal="false" overflowToDisk="true" timeToLiveSeconds="60"/> <!-- 1 hour cache --> <cache name="blCMSElements" maxElementsInMemory="10000" eternal="false" overflowToDisk="true" timeToLiveSeconds="3600"/> <!-- Page Cache - 1 hour cache --> <cache name="cmsPageCache" maxElementsInMemory="1000" eternal="false" overflowToDisk="true" timeToLiveSeconds="3600"/> <!-- Structured Content Cache - 1 hour cache --> <cache name="cmsStructuredContentCache" maxElementsInMemory="5000" eternal="false" overflowToDisk="true" timeToLiveSeconds="3600"/> <!-- If using message based cache-eviction, then the cmsPageCache can be set to eternal. --> <!-- <cache name="cmsPageCache" maxElementsInMemory="1000" eternal="true" overflowToDisk="true"/> /> <cache name="cmsStructuredContentCache" maxElementsInMemory="5000" eternal="true" overflowToDisk="true"/> /> --> </ehcache>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy