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 |
OptimizeOnShutdown |
By default the Indexed Disk Cache will optimize on shutdown
if the free data size is greater than 0. If you want to prevent
this behavior, you can set this parameter to false. |
N |
true |
ClearDiskOnStartup |
By default the Indexed Disk Cache will use items found on
disk on startup. If you set this value to true, the old key and
data files will be cleared. |
N |
false |