Skip to content
Latchkey

What Is a Cache Hit?

A cache hit happens when a lookup finds a valid entry for the requested key and returns it without contacting the origin. Hits are fast and cheap, which is the entire point of caching. The ratio of hits to total lookups measures how effective a cache is.

Why it matters

Each hit saves a round trip and reduces load on the backing system. On Latchkey runners, a dependency cache hit lets a build skip re-fetching packages, directly cutting job time and cost.

Related guides

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