Expiration Configuration
Important
To update any cache settings, follow the steps provided in the Update Cache Config section.
Configure Expiration
All expired items are removed from the cache in bulk. The ExpirationBulkRemoveSize
specifies the number of items that should be removed in one bulk operation.
<add key="NCacheServer.ExpirationBulkRemoveSize" value="10"/>
Expired cache items are removed in bulk format. This could slow down the performance of user operations during expirations. This time specified (in milliseconds) causes a delay between two consecutive bulk removal operations.
<add key="NCacheServer.ExpirationBulkRemoveDelay" value="0"/>
Configure Eviction
During eviction within a cache, items are removed in bulk. Specify the number of items that should be evicted in one bulk operation. The default size of the EvictionBulkRemoveSize
bulk operation is 10.
<add key="NCacheServer.EvictionBulkRemoveSize" value="10"/>
During eviction, cache items are evicted in bulk. This may decrease the overall performance of user operations during eviction. This time specified (in seconds) causes a delay between two consecutive bulk removal operations.
<add key="NCacheServer.EvictionBulkRemoveDelay" value="0"/>