@lelantos-org/sdk / prover / cacheApiArtifactCache
Function: cacheApiArtifactCache() โ
ts
function cacheApiArtifactCache(): ArtifactCache | null;Defined in: @lelantos-org/sdk/dist/prover/artifact-cache.d.ts:35
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, so the URL is the version. Proving keys are immutable per circuits release; serve a new release under a new path (or call clearArtifactCache) rather than expecting revalidation. There is deliberately no conditional request here โ a round-trip on every load would defeat the point.
Returns โ
ArtifactCache | null