DocumentCategoryMaxCacheSize Property |
Gets or sets the maximum cache size for the document category.
Namespace: Microsoft.ClearScriptAssembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.4.5
Syntax public uint MaxCacheSize { get; set; }
Public Property MaxCacheSize As UInteger
Get
Set
public:
property unsigned int MaxCacheSize {
unsigned int get ();
void set (unsigned int value);
}
member MaxCacheSize : uint32 with get, set
Property Value
UInt32Remarks
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