Click or drag to resize

V8CacheKind Enumeration

Defines caching options for V8 script compilation.

Namespace: Microsoft.ClearScript.V8
Assembly: ClearScript.V8 (in ClearScript.V8.dll) Version: 7.4.5
Syntax
public enum V8CacheKind
Members
Member nameValueDescription
None0 Specifies that no cache data is to be generated or consumed during V8 script compilation. This option results in the most efficient script compilation when no cache data is available.
Parser1Obsolete.
Selects parser caching. Parser cache data is smaller and less expensive to generate than code cache data, but it is less effective at accelerating recompilation.
Code2 Selects code caching. Code cache data is larger and more expensive to generate than parser cache data, but it is more effective at accelerating recompilation.
See Also