Skip to content

@lelantos-org/sdk / prover / cacheApiArtifactCache

Function: cacheApiArtifactCache() ​

ts
function cacheApiArtifactCache(): ArtifactCache | null;

Defined in: @lelantos-org/sdk/dist/prover/artifact-cache.d.ts:27

Cache API implementation of ArtifactCache, or null where the Cache API is absent (Node, non-secure contexts, some embedded webviews).

Entries are keyed by the exact artifact URL and never revalidated, so the URL is the version: serve each circuits release under its own path, or call clearArtifactCache.

Returns ​

ArtifactCache | null