You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are adding a new caching tag helper named <distributed-cache>. It differs from the <cache> tag helper by being able to serialize the html fragment in a distributed store like Redis or a database for instance.
For example you can cache the rendering of a View Component like this:
The content will be serialized and stored on a distributed cache storage. The default implementation uses the IDistributedCache service but you can override the behavior by providing custom implementations of IDistributedCacheTagHelperFormatter and IDistributedCacheTagHelperService.
We are adding a new caching tag helper named
<distributed-cache>
. It differs from the<cache>
tag helper by being able to serialize the html fragment in a distributed store like Redis or a database for instance.For example you can cache the rendering of a View Component like this:
The content will be serialized and stored on a distributed cache storage. The default implementation uses the
IDistributedCache
service but you can override the behavior by providing custom implementations ofIDistributedCacheTagHelperFormatter
andIDistributedCacheTagHelperService
.Use aspnet/Mvc#3867 for further discussions.
The text was updated successfully, but these errors were encountered: