Michael Hanl | 72c7b83 | 2015-09-03 08:42:15 +0200 | [diff] [blame] | 1 | <ehcache xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' |
| 2 | xsi:noNamespaceSchemaLocation='http://ehcache.org/ehcache.xsd'> |
| 3 | <defaultCache eternal='true' overflowToDisk='false'/> |
| 4 | <!--maxBytesLocalHeap="200M"--> |
Michael Hanl | f1e85e7 | 2016-01-21 16:55:45 +0100 | [diff] [blame^] | 5 | <diskStore path="./cache_store"/> |
| 6 | |
Michael Hanl | 2760cc4 | 2015-11-16 19:30:01 +0100 | [diff] [blame] | 7 | <cache name="documents" |
| 8 | timeToIdleSeconds="172800" |
| 9 | eternal='false' |
| 10 | memoryStoreEvictionPolicy="LRU" |
| 11 | maxEntriesLocalHeap="2000" |
| 12 | overflowToDisk='false'/> |
Michael Hanl | 72c7b83 | 2015-09-03 08:42:15 +0200 | [diff] [blame] | 13 | <cache name='users' |
| 14 | timeToIdleSeconds="172800" |
| 15 | eternal='false' |
| 16 | memoryStoreEvictionPolicy="LRU" |
| 17 | maxEntriesLocalHeap="50" |
| 18 | overflowToDisk='false'/> |
| 19 | <cache name='id_tokens' |
| 20 | timeToIdleSeconds="172800" |
Michael Hanl | f1e85e7 | 2016-01-21 16:55:45 +0100 | [diff] [blame^] | 21 | eternal='true' |
| 22 | maxElementsOnDisk="10000000" |
Michael Hanl | 72c7b83 | 2015-09-03 08:42:15 +0200 | [diff] [blame] | 23 | memoryStoreEvictionPolicy="LRU" |
| 24 | maxEntriesLocalHeap="50" |
Michael Hanl | f1e85e7 | 2016-01-21 16:55:45 +0100 | [diff] [blame^] | 25 | overflowToDisk='true'/> |
| 26 | <cache name='id_tokens_inv' |
| 27 | timeToIdleSeconds="322800" |
| 28 | eternal='true' |
| 29 | maxElementsOnDisk="10000000" |
| 30 | memoryStoreEvictionPolicy="LRU" |
| 31 | maxEntriesLocalHeap="50" |
| 32 | overflowToDisk='true'/> |
| 33 | |
Michael Hanl | 72c7b83 | 2015-09-03 08:42:15 +0200 | [diff] [blame] | 34 | <cache name='auth_codes' |
| 35 | timeToIdleSeconds="600" |
| 36 | eternal='false' |
| 37 | memoryStoreEvictionPolicy="LRU" |
| 38 | maxEntriesLocalHeap="100" |
| 39 | overflowToDisk='false'/> |
| 40 | <cache name='resources' |
| 41 | eternal='false' |
| 42 | overflowToDisk='false' |
| 43 | maxEntriesLocalHeap="60" |
| 44 | timeToIdleSeconds="172800" |
| 45 | diskSpoolBufferSizeMB="30" |
| 46 | diskExpiryThreadIntervalSeconds="120" |
| 47 | memoryStoreEvictionPolicy="LRU" |
| 48 | statistics="false"/> |
| 49 | </ehcache> |