Skip to content
Latchkey

Layer Caching - CI/CD Glossary Definition

Layer caching reuses the results of previously built image layers when their inputs are unchanged, so only affected layers rebuild. It is the primary lever for fast image builds.

Layer caching reuses the results of previously built image layers when their inputs are unchanged, so only affected layers rebuild. It is the primary lever for fast image builds.

Layer caching reuses the results of previously built image layers when their inputs are unchanged, so only affected layers rebuild. It is the primary lever for fast image builds.

In CI

Ephemeral runners lose the local cache between runs, so builds use a registry or BuildKit cache backend (--cache-from) to persist layers across jobs.

Related guides

Run this faster and cheaper on Latchkey managed runners. Start free →