Mercurial > dive4elements > river
diff flys-artifacts/doc/conf/cache.xml @ 972:0c8aca463bd4
Added caching support for the static part of the datacage.
flys-artifacts/trunk@2398 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 22 Jul 2011 16:55:36 +0000 |
parents | 853dceead0f4 |
children | 107d44b3455d |
line wrap: on
line diff
--- a/flys-artifacts/doc/conf/cache.xml Fri Jul 22 11:18:00 2011 +0000 +++ b/flys-artifacts/doc/conf/cache.xml Fri Jul 22 16:55:36 2011 +0000 @@ -46,4 +46,12 @@ diskPersistent="true" memoryStoreEvictionPolicy="LRU" /> + + <!-- This one is used for the SQL statements used by the static datacage --> + <cache name="datacage.db" + maxElementsInMemory="2000" + eternal="false" + timeToLiveSeconds="7200" + memoryStoreEvictionPolicy="LFU" + /> </ehcache>