Property Priority
Priority
The relative cost of the object, as expressed by the enumeration. The cache uses this value when it evicts objects; objects with a lower cost are removed from the cache before objects with a higher cost.
Declaration
public CacheItemPriority Priority { get; set; }
Property Value
Type | Description |
---|---|
CacheItemPriority | The default value is CacheItemPriority.Default. |
Remarks
This property will be used only when the eviction policy is set to priority in the configuration.