Open sandboxFocus

Property KeyBuilder

KeyBuilder

Gets or sets the key builder that computes the keys of the cached items. Setting this property to null restores a default CacheKeyBuilder.

Declaration
public CacheKeyBuilder KeyBuilder { get; set; }
Property Value
Type Description
CacheKeyBuilder
Implements
Remarks

The default key builder limits keys to 2048 characters and does not compress them. Assign a new CacheKeyBuilder to change these settings, or an instance of a derived class to change how keys are built.

See Also