CacheItemPolicy
CacheItemPolicy is a class in the Microsoft .NET Framework that allows developers to define expiration and eviction policies for cache entries. It is part of the System.Runtime.Caching namespace, introduced to provide a more flexible and modern caching API compared to the older System.Web.Caching.
The CacheItemPolicy object can be used to specify how long an item should remain in the cache
In addition to expiration, CacheItemPolicy also supports change monitors. Change monitors allow the cache to be
When adding an item to the cache using the MemoryCache class, a CacheItemPolicy object can be provided