Cache

Abstract implementation of various distributed caches. We can save an object to cache and retrieve it object by its key, using various implementations.

Interfaces

ICache

Interface for caches that are used to cache values to improve performance.


Classes

CacheEntry

Data object to store cached values with their keys used by MemoryCache

MemoryCache

Cache that stores values in the process memory.

NullCache

Dummy cache implementation that doesn’t do anything.

It can be used in testing or in situations when cache is required but shall be disabled.