Caches
Caches can be used by handlers such as the cached content concern to store and serve intermediate results for improved performance. The SDK ships with backends for local memory and file system based storage. Custom backends can be provided by implementing the ICache interface.
var memoryCache = Cache.Memory<MyClass>();
var tempFileCache = Cache.TemporaryFiles<MyClass>();
var persistentFileCache = Cache.FileSystem<MyClass>("./cache");