Michael Hanl | 72c7b83 | 2015-09-03 08:42:15 +0200 | [diff] [blame] | 1 | <ehcache xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' |
margaretha | bcda2f7 | 2017-04-27 10:17:58 +0200 | [diff] [blame^] | 2 | xsi:schemaLocation='http://ehcache.org/ehcache.xsd'> |
Michael Hanl | 72c7b83 | 2015-09-03 08:42:15 +0200 | [diff] [blame] | 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' |
Michael Hanl | f1e85e7 | 2016-01-21 16:55:45 +0100 | [diff] [blame] | 20 | eternal='true' |
| 21 | maxElementsOnDisk="10000000" |
Michael Hanl | 72c7b83 | 2015-09-03 08:42:15 +0200 | [diff] [blame] | 22 | memoryStoreEvictionPolicy="LRU" |
| 23 | maxEntriesLocalHeap="50" |
Michael Hanl | f1e85e7 | 2016-01-21 16:55:45 +0100 | [diff] [blame] | 24 | overflowToDisk='true'/> |
| 25 | <cache name='id_tokens_inv' |
Michael Hanl | f1e85e7 | 2016-01-21 16:55:45 +0100 | [diff] [blame] | 26 | eternal='true' |
| 27 | maxElementsOnDisk="10000000" |
| 28 | memoryStoreEvictionPolicy="LRU" |
| 29 | maxEntriesLocalHeap="50" |
| 30 | overflowToDisk='true'/> |
| 31 | |
Michael Hanl | 7368aa4 | 2016-02-05 18:15:47 +0100 | [diff] [blame] | 32 | <cache name='auth_sessions' |
| 33 | timeToIdleSeconds="172800" |
| 34 | eternal='false' |
| 35 | memoryStoreEvictionPolicy="LRU" |
| 36 | maxEntriesLocalHeap="100" |
| 37 | overflowToDisk='false'/> |
| 38 | |
Michael Hanl | 72c7b83 | 2015-09-03 08:42:15 +0200 | [diff] [blame] | 39 | <cache name='auth_codes' |
| 40 | timeToIdleSeconds="600" |
| 41 | eternal='false' |
| 42 | memoryStoreEvictionPolicy="LRU" |
| 43 | maxEntriesLocalHeap="100" |
| 44 | overflowToDisk='false'/> |
Michael Hanl | c0ed00f | 2016-06-23 14:33:10 +0200 | [diff] [blame] | 45 | |
Michael Hanl | 72c7b83 | 2015-09-03 08:42:15 +0200 | [diff] [blame] | 46 | <cache name='resources' |
| 47 | eternal='false' |
| 48 | overflowToDisk='false' |
| 49 | maxEntriesLocalHeap="60" |
| 50 | timeToIdleSeconds="172800" |
| 51 | diskSpoolBufferSizeMB="30" |
| 52 | diskExpiryThreadIntervalSeconds="120" |
| 53 | memoryStoreEvictionPolicy="LRU" |
| 54 | statistics="false"/> |
| 55 | </ehcache> |