Click or drag to resize

DocumentCategoryMaxCacheSize Property

Gets or sets the maximum cache size for the document category.

Namespace: Microsoft.ClearScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.4.5
Syntax
public uint MaxCacheSize { get; set; }

Property Value

UInt32
Remarks

This property specifies the maximum number of prepared or compiled documents of the current category to be cached by script engines. Its initial value is 1024.

Each script engine or runtime maintains private caches for supported document categories. These are distinct from the caches used by document loaders.

See Also