PageClientProduceCompilationCacheAsync Method |
Version 93.1.111
Requests backend to produce compilation cache for the specified scripts.
Unlike setProduceCompilationCache, this allows client to only produce cache
for specific scripts. `scripts` are appeneded to the list of scripts
for which the cache for would produced. Disabling compilation cache with
`setProduceCompilationCache` would reset all pending cache requests.
The list may also be reset during page navigation.
When script with a matching URL is encountered, the cache is optionally
produced upon backend discretion, based on internal heuristics.
See also: `Page.compilationCacheProduced`.
Namespace:
CefSharp.DevTools.Page
Assembly:
CefSharp (in CefSharp.dll) Version: 93.1.111.0 (93.1.111.0)
Syntax public Task<DevToolsMethodResponse> ProduceCompilationCacheAsync(
IList<CompilationCacheParams> scripts
)
public:
Task<DevToolsMethodResponse^>^ ProduceCompilationCacheAsync(
IList<CompilationCacheParams^>^ scripts
)
Parameters
- scripts
- Type: System.Collections.GenericIListCompilationCacheParams
scripts
Return Value
Type:
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also