RazorComponentsServiceOptions.CacheViewSizeLimit Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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