margaretha | 1b32045 | 2018-08-02 16:56:25 +0200 | [diff] [blame] | 1 | <ehcache xsi:noNamespaceSchemaLocation="http://www.ehcache.org/ehcache.xsd" |
| 2 | updateCheck="true" monitoring="autodetect" dynamicConfig="true"> |
| 3 | |
Michael Hanl | 72c7b83 | 2015-09-03 08:42:15 +0200 | [diff] [blame] | 4 | <defaultCache eternal='true' overflowToDisk='false'/> |
| 5 | <!--maxBytesLocalHeap="200M"--> |
Michael Hanl | f1e85e7 | 2016-01-21 16:55:45 +0100 | [diff] [blame] | 6 | <diskStore path="./cache_store"/> |
margaretha | 064eb6f | 2018-07-10 18:33:01 +0200 | [diff] [blame] | 7 | |
Michael Hanl | 72c7b83 | 2015-09-03 08:42:15 +0200 | [diff] [blame] | 8 | <cache name='id_tokens' |
Michael Hanl | f1e85e7 | 2016-01-21 16:55:45 +0100 | [diff] [blame] | 9 | eternal='true' |
| 10 | maxElementsOnDisk="10000000" |
Michael Hanl | 72c7b83 | 2015-09-03 08:42:15 +0200 | [diff] [blame] | 11 | memoryStoreEvictionPolicy="LRU" |
| 12 | maxEntriesLocalHeap="50" |
Michael Hanl | f1e85e7 | 2016-01-21 16:55:45 +0100 | [diff] [blame] | 13 | overflowToDisk='true'/> |
Michael Hanl | 7368aa4 | 2016-02-05 18:15:47 +0100 | [diff] [blame] | 14 | |
margaretha | 07a356a | 2018-07-11 19:12:21 +0200 | [diff] [blame] | 15 | <cache name='id_tokens_inv' |
| 16 | eternal='true' |
| 17 | maxElementsOnDisk="10000000" |
| 18 | memoryStoreEvictionPolicy="LRU" |
| 19 | maxEntriesLocalHeap="50" |
| 20 | overflowToDisk='true'/> |
| 21 | |
Michael Hanl | 72c7b83 | 2015-09-03 08:42:15 +0200 | [diff] [blame] | 22 | <cache name='auth_codes' |
| 23 | timeToIdleSeconds="600" |
| 24 | eternal='false' |
| 25 | memoryStoreEvictionPolicy="LRU" |
| 26 | maxEntriesLocalHeap="100" |
| 27 | overflowToDisk='false'/> |
Michael Hanl | c0ed00f | 2016-06-23 14:33:10 +0200 | [diff] [blame] | 28 | |
Michael Hanl | 72c7b83 | 2015-09-03 08:42:15 +0200 | [diff] [blame] | 29 | <cache name='resources' |
| 30 | eternal='false' |
| 31 | overflowToDisk='false' |
| 32 | maxEntriesLocalHeap="60" |
| 33 | timeToIdleSeconds="172800" |
| 34 | diskSpoolBufferSizeMB="30" |
| 35 | diskExpiryThreadIntervalSeconds="120" |
| 36 | memoryStoreEvictionPolicy="LRU" |
margaretha | 6ef00dd | 2018-09-12 14:06:38 +0200 | [diff] [blame^] | 37 | /> |
margaretha | 064eb6f | 2018-07-10 18:33:01 +0200 | [diff] [blame] | 38 | |
| 39 | <!-- EM --> |
| 40 | <cache name='authorization' |
| 41 | timeToLiveSeconds="1000" |
| 42 | eternal='false' |
| 43 | memoryStoreEvictionPolicy="LRU" |
| 44 | maxEntriesLocalHeap="100" |
| 45 | overflowToDisk='false'/> |
| 46 | |
| 47 | <cache name='access_token' |
| 48 | timeToIdleSeconds="3600" |
| 49 | timeToLiveSeconds="15000" |
| 50 | eternal='false' |
| 51 | memoryStoreEvictionPolicy="LRU" |
| 52 | maxEntriesLocalHeap="500" |
margaretha | 1b32045 | 2018-08-02 16:56:25 +0200 | [diff] [blame] | 53 | overflowToDisk='false'/> |
| 54 | |
| 55 | <cache name="named_vc" |
| 56 | eternal="true" |
| 57 | memoryStoreEvictionPolicy="LRU" |
| 58 | maxBytesLocalHeap="256M" |
| 59 | maxBytesLocalDisk="1G" |
| 60 | diskExpiryThreadIntervalSeconds = "120" > |
| 61 | <persistence strategy="localTempSwap"/> |
| 62 | </cache> |
Michael Hanl | 72c7b83 | 2015-09-03 08:42:15 +0200 | [diff] [blame] | 63 | </ehcache> |