Language

RazorComponentsServiceOptions.CacheViewSizeLimit Property

Definition

Gets or sets the maximum size, in bytes, of the in-memory cache used by CacheView for server-side rendering. When the limit is reached, no new entries are cached until existing entries expire. Defaults to 100 MB. A value of 0 configures a zero-byte cache size limit, so entries are not cached.

public long CacheViewSizeLimit { get; set; }
member this.CacheViewSizeLimit : int64 with get, set
Public Property CacheViewSizeLimit As Long

Property Value

Applies to