Open sandboxFocus

Property KeyCompressingThreshold

KeyCompressingThreshold

This property has no effect. The default value is 128.

Declaration
[Obsolete("This property has no effect. Pass the keyCompressingThreshold parameter to the CacheKeyBuilder constructor and assign it to CachingServices.DefaultService.KeyBuilder.")]
public int KeyCompressingThreshold { get; set; }
Property Value
Type Description
int
Remarks

Cache keys are compressed by the CacheKeyBuilder, for all backends. To compress the keys, assign CachingServices.DefaultService.KeyBuilder a CacheKeyBuilder created with a CacheKeyHashingAlgorithm and the keyCompressingThreshold parameter of its constructor.