For the complete documentation index, see llms.txt. This page is also available as Markdown.

Zongsoft.Caching

Responsibilities and main types of the Zongsoft.Caching namespace.

Zongsoft.Caching provides cache abstraction and memory cache implementation in the core class library to support in-process caching, cache expiration, capacity control, buffer refresh and cache event notification.

Main Responsibilities

  • Define cache access abstractions such as IDistributedCache.

  • Provides in-process cache implementation and configuration such as MemoryCache and MemoryCacheOptions.

  • Express cache expiration policies, cache priorities, eviction reasons, and cache change events.

  • Provides Spooler<T> asynchronous buffer for batch refresh of high-frequency writes.

  • Provide unified cache dependencies for other modules instead of directly binding a specific cache implementation.

Type

Last updated