Skip to main content

Module cache

Module cache 

Source
Expand description

Compiled component cache for fast instantiation.

Caches CompiledComponent objects by ComponentTypeId to avoid recompilation. When the wasmtime-backend feature is enabled, also supports disk caching via Wasmtime’s serialization.

Per Doc 02, Section 2.4 and MR-06: InstancePre is available for Component Model and is used for pre-resolved import caching.

Structs§

CompiledComponentCache
Cache for compiled WebAssembly components.