Defines caching options for V8 script compilation.
Namespace: Microsoft.ClearScript.V8Assembly: ClearScript.V8 (in ClearScript.V8.dll) Version: 7.4.5
Syntax Public Enumeration V8CacheKind
public enum class 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