Skip to content
Latchkey

What Is a Remote Cache?

A remote cache is a build cache hosted in shared storage rather than on a single machine, so cached outputs produced by one runner or developer can be downloaded and reused by another. It turns work done anywhere into a speedup everywhere. Tools like Bazel, Turborepo, and Gradle support remote caches for exactly this reason.

Why it matters

On ephemeral CI runners, a local cache disappears when the machine is destroyed, so the next job rebuilds from scratch. A remote cache survives the runner, letting fresh ephemeral machines reuse prior work. Managed runner platforms often pair ephemeral runners with a remote cache to get both isolation and speed.

Related concepts

  • Requires content-addressed, hermetic builds to be safe
  • Cache poisoning is a risk if writes are not trusted
  • Network transfer cost can offset savings for tiny artifacts

Related guides

Tired of flaky CI? Latchkey auto-heals failed jobs and retries them for you. Start free →