Skip to main content

Module cache

Module cache 

Source
Expand description

Persisted graph-cache identity contracts and on-disk store.

The manifest types here define the invalidation surface a persisted graph cache must satisfy before a cached graph can be trusted; the store implements the coarse all-or-nothing load / save of a previously-built ModuleGraph keyed by that manifest.

Structs§

GraphCacheFile
Source freshness for one file in a graph-cache manifest.
GraphCacheManifest
Manifest inputs required to trust a persisted graph cache entry.
GraphCacheMode
Option dimensions that affect graph construction.
GraphCacheStore
On-disk graph cache entry: a manifest plus the graph it validates.

Constants§

GRAPH_CACHE_VERSION
Persisted graph cache schema version.