Skip to content

CacheService class

Implements a client-side cache mechanism.

public static class CacheService

Public Members

name description
static readonly Keys Existing cache keys. A simple wrapper around LazyCache's CachingService.
static GetOrAddAsync(…) Get our result from the cache, or build them in the factory func and cache the results for next time under the given key
static Remove(…) Removes a key from the cache.
static RemoveWithPrefix(…) Removes all keys with the given prefix.

See Also