Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
enum Microsoft.​Extensions.​Caching.​Memory.​CacheItemPriority
Assembly: Microsoft.Extensions.Caching.Abstractions
Specifies how items are prioritized for preservation during a memory pressure triggered cleanup.
Values
Low
The cache entry should be removed as soon as possible during memory pressure triggered cleanup.
Normal
The cache entry should be removed if there is no other low priority cache entries during memory pressure triggered cleanup.
High
The cache entry should be removed only when there is no other low or normal priority cache entries during memory pressure triggered cleanup.
NeverRemove
The cache entry should never be removed during memory pressure triggered cleanup.