Enum CacheMode
Defines the caching mode for the Dispatch caching system.
public enum CacheMode
- Extension Methods
Fields
Distributed = 1Use only distributed caching (IDistributedCache). Shared across servers but has network latency.
Hybrid = 2Use hybrid caching (HybridCache). Combines memory and distributed caching for optimal performance.
Memory = 0Use only in-memory caching (IMemoryCache). Fast but not shared across servers.