Table of Contents

Enum CacheMode

Namespace
Excalibur.Dispatch.Caching
Assembly
Excalibur.Dispatch.Caching.dll

Defines the caching mode for the Dispatch caching system.

public enum CacheMode
Extension Methods

Fields

Distributed = 1

Use only distributed caching (IDistributedCache). Shared across servers but has network latency.

Hybrid = 2

Use hybrid caching (HybridCache). Combines memory and distributed caching for optimal performance.

Memory = 0

Use only in-memory caching (IMemoryCache). Fast but not shared across servers.