Implemented auto-caching.
Change-Id: Id547073357ab626971e52c7d84f6e86deb05c2c0
diff --git a/src/main/resources/ehcache.xml b/src/main/resources/ehcache.xml
index 0cb69b7..00465bf 100644
--- a/src/main/resources/ehcache.xml
+++ b/src/main/resources/ehcache.xml
@@ -1,4 +1,4 @@
-<ehcache xsi:noNamespaceSchemaLocation="ehcache.xsd"
+<ehcache xsi:noNamespaceSchemaLocation="http://www.ehcache.org/ehcache.xsd"
updateCheck="true" monitoring="autodetect" dynamicConfig="true">
<diskStore path="./krill_cache" />
@@ -10,11 +10,12 @@
timeToLiveSeconds="1200">
</defaultCache>
- <cache name='named_vc'
- eternal='true'
+ <cache name="named_vc"
+ eternal="true"
memoryStoreEvictionPolicy="LRU"
- maxBytesLocalHeap="256M"
- maxBytesLocalDisk="1G"
- overflowToDisk='true' />
+ maxBytesLocalHeap="256M" >
+ <!-- maxBytesLocalDisk="1G">
+ <persistence strategy="localTempSwap"/> -->
+ </cache>
</ehcache>
\ No newline at end of file