mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-15 22:05:00 -05:00
91 lines
2.2 KiB
XML
91 lines
2.2 KiB
XML
<ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ehcache.xsd" updateCheck="false">
|
|
|
|
<!--
|
|
Persistent disk store location
|
|
-->
|
|
<diskStore path="${ehcache.disk.store.dir}" />
|
|
|
|
<!--
|
|
Mandatory Default Cache configuration. These settings will be applied to caches
|
|
created pragmatically using CacheManager.add(String cacheName).
|
|
-->
|
|
<defaultCache
|
|
maxElementsInMemory="100"
|
|
eternal="false"
|
|
timeToIdleSeconds="120"
|
|
timeToLiveSeconds="120"
|
|
overflowToDisk="false"
|
|
diskPersistent="false"
|
|
memoryStoreEvictionPolicy="LRU"
|
|
/>
|
|
|
|
<!--
|
|
Short-lived (48 hours) persistent cache for web responses.
|
|
-->
|
|
<cache name="web-datasource"
|
|
maxElementsInMemory="120"
|
|
maxElementsOnDisk="120"
|
|
eternal="false"
|
|
timeToIdleSeconds="172800"
|
|
timeToLiveSeconds="172800"
|
|
overflowToDisk="true"
|
|
diskPersistent="true"
|
|
memoryStoreEvictionPolicy="LRU"
|
|
/>
|
|
|
|
<!--
|
|
Short-lived (48 hours) persistent disk cache for full web pages
|
|
-->
|
|
<cache name="web-data-diskcache"
|
|
maxElementsInMemory="50"
|
|
maxElementsOnDisk="5000"
|
|
eternal="false"
|
|
timeToIdleSeconds="172800"
|
|
timeToLiveSeconds="172800"
|
|
overflowToDisk="true"
|
|
diskPersistent="true"
|
|
memoryStoreEvictionPolicy="LRU"
|
|
/>
|
|
|
|
<!--
|
|
Very long-lived cache (one month!) anime/series list and episode information.
|
|
-->
|
|
<cache name="web-persistent-datasource"
|
|
maxElementsInMemory="40"
|
|
maxElementsOnDisk="240"
|
|
eternal="false"
|
|
timeToIdleSeconds="2628000"
|
|
timeToLiveSeconds="2628000"
|
|
overflowToDisk="true"
|
|
diskPersistent="true"
|
|
memoryStoreEvictionPolicy="LRU"
|
|
/>
|
|
|
|
<!--
|
|
Simple memory cache for calculated checksums. Time to live is 2 hours. This cache is used in EpisodeFormatBindingBean
|
|
-->
|
|
<cache name="checksum"
|
|
maxElementsInMemory="4200"
|
|
eternal="false"
|
|
timeToIdleSeconds="7200"
|
|
timeToLiveSeconds="7200"
|
|
overflowToDisk="false"
|
|
diskPersistent="false"
|
|
memoryStoreEvictionPolicy="LRU"
|
|
/>
|
|
|
|
<!--
|
|
Short-lived memory cache for resources like icons. This cache is used by ResourceManager.
|
|
-->
|
|
<cache name="resource"
|
|
maxElementsInMemory="40"
|
|
eternal="false"
|
|
timeToIdleSeconds="120"
|
|
timeToLiveSeconds="120"
|
|
overflowToDisk="false"
|
|
diskPersistent="false"
|
|
memoryStoreEvictionPolicy="LRU"
|
|
/>
|
|
|
|
</ehcache>
|