1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-23 08:18:52 -05:00

* separate cache with large diskstore capacity for full web pages

This commit is contained in:
Reinhard Pointner 2012-06-18 08:40:05 +00:00
parent 0c6b16b5f2
commit e48bbbe2ee
2 changed files with 15 additions and 1 deletions

View File

@ -33,6 +33,20 @@
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.
-->

View File

@ -24,7 +24,7 @@ public class CachedPage extends CachedResource<String> {
@Override
protected Cache getCache() {
return CacheManager.getInstance().getCache("web-datasource");
return CacheManager.getInstance().getCache("web-data-diskcache");
}