ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript.V8
V8CacheKind Enumeration
V8CacheResult Enumeration
V8CpuProfile Class
V8CpuProfile.Node Class
V8CpuProfile.Node.HitLine Structure
V8CpuProfile.Sample Class
V8CpuProfileFlags Enumeration
V8GlobalFlags Enumeration
V8Runtime Class
V8RuntimeConstraints Class
V8RuntimeDebuggerEventArgs Class
V8RuntimeFlags Enumeration
V8RuntimeHeapInfo Class
V8RuntimeViolationPolicy Enumeration
V8Script Class
V8ScriptEngine Class
V8ScriptEngineFlags Enumeration
V8Settings Class

# V8CacheKind Enumeration

Defines caching options for V8 script compilation.
Namespace: Microsoft.ClearScript.V8
Assembly: ClearScript.V8 (in ClearScript.V8.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    public enum V8CacheKind

    Public Enumeration V8CacheKind

    public enum class V8CacheKind

    type V8CacheKind

Members

Member name | Value | Description
--- | --- | ---
None | 0 | 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.
Parser | 1 | Obsolete. 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.
Code | 2 | 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

#### Reference

Microsoft.ClearScript.V8 Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft