Enum PrefetchEvictionPolicy
Enumeration defining different policies for cache eviction when memory limits are reached.
Determines which cached assets are removed when space is needed for new assets.
Namespace: Serenity.AssetPrefetcher.Domain.ValueObjects
Assembly: Serenity.AssetPrefetcher.Domain.dll
Syntax
public enum PrefetchEvictionPolicy
Fields
| Name | Description |
|---|---|
| FIFO | First In, First Out - evicts the oldest cached assets regardless of access patterns. |
| LRU | Least Recently Used - evicts the assets that haven't been accessed for the longest time. |
| Manual | Manual eviction - assets are only removed when explicitly requested by the application. |