Skip to content

Glossary: Go in Practice

Build cache

Also written: layer cache

Docker's saved layers, reused when a step's inputs haven't changed. Copying `go.mod` before the source means a code change doesn't download every module again.

Where the book teaches it

Related terms

LayerDockerfile