The CacheAttribute can be used with different caching frameworks or caching servers. This concept is called a caching backend. Caching backends are represented by the CachingBackend abstract class. You can use an existing implementation or implement your own caching backend.
In this chapter
|Using In-Memory Cache
|This article shows how to store cached values using the MemoryCache class or the
|Using Redis Cache
|This article shows how to store cached values using Redis and using a combination of Redis and MemoryCache class.