PageCacheTagHelper Class

PageCacheTagHelper Class

Indicates that the content of this element should be cached by page.

[HtmlTargetElement(Attributes = "re-page-cache")]
public class PageCacheTagHelper: TagHelper

Inheritance  TagHelper PageCacheTagHelper

Constructors

Name Description
CharBufferHtmlContent(PagedCharBuffer)
CharBufferTextWriter()
PageCacheTagHelper(IRedaktContext, IAsyncCache, HtmlEncoder) Default constructor. Services are injected by the IoC container.

Properties

Name Description
Buffer
Encoding
PageCache Enables by page caching of the the content of this element.

Methods

Name Description
ProcessAsync(TagHelperContext, TagHelperOutput)
Write(char)
Write(char[], int, int)
Write(string)
WriteTo(TextWriter, HtmlEncoder)