Add note about IDistributedCache (#27816)
parent
eb4d1ade00
commit
3755ffea5b
|
@ -157,7 +157,7 @@ The following properties of <xref:Microsoft.AspNetCore.OutputCaching.OutputCache
|
|||
|
||||
## Cache storage
|
||||
|
||||
<xref:Microsoft.AspNetCore.OutputCaching.IOutputCacheStore> is used for storage. By default it's used with <xref:System.Runtime.Caching.MemoryCache>. We don't recommend <xref:Microsoft.Extensions.Caching.Distributed.IDistributedCache> for use with output caching.
|
||||
<xref:Microsoft.AspNetCore.OutputCaching.IOutputCacheStore> is used for storage. By default it's used with <xref:System.Runtime.Caching.MemoryCache>. We don't recommend <xref:Microsoft.Extensions.Caching.Distributed.IDistributedCache> for use with output caching. `IDistributedCache` doesn't have atomic features, which are required for tagging. We recommend that you create custom <xref:Microsoft.AspNetCore.OutputCaching.IOutputCacheStore> implementations by using direct dependencies on the underlying storage mechanism, such as Redis.
|
||||
|
||||
## See also
|
||||
|
||||
|
|
Loading…
Reference in New Issue