Property |
Description |
Required |
Default Value |
DiskPath |
The directory where the disk cache should write its files.
|
Y |
n/a |
MaxPurgatorySize |
The maximum number of items allowed in the queue of items to
be written to disk.
|
N |
5000 |
MaxKeySize |
The maximum number of keys that the indexed disk cache can have.
Since the keys are stored in memory, you may want to limit
this number to something reasonable. The default is a bit small.
|
N |
5000 |
OptimizeAtRemoveCount |
At how many removes should the cache try to defragment the
data file. Since we recycle empty spots, defragmentation
is usually not needed. To prevent the cache from defragmenting
the data file, you can set this to -1. This is the default value.
|
N |
-1 |
MaxRecycleBinSize |
The maximum number of empty spots the cache will keep
track of. The smallest are removed when the maximum size
is reached. Keeping track of empty spots on disk allows us
to reuse spots, thereby keeping the file from growing unncessarily.
|
N |
5000 |