thin-client

Artifact Caching Explained

How compiled artifacts are cached, keyed, and reused across runs.

Published May 30, 2026

Cache Key

The cache key is derived from: source hash + function name + backend + opt_level + target_platform.

Cache Location

~/.pyvorin/cache/

Cache Hit

When a matching artifact exists locally, the compile request is skipped entirely.

Cache Invalidation

Change any of the key components (source, function name, opt_level) to force recompilation.

Shared Cache

Mount the cache directory on a network volume to share compiled artifacts across team members or CI runners.