thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

DevOps & Automation · Intermediate

Build Cache

Reusing previously downloaded dependencies or build outputs between pipeline runs to speed up builds.

Definition

Caches are keyed, often by a hash of a lock file, and restored at the start of a job. Docker layer caching and dependency caches (pip, npm, Maven) are common.

Example

actions/cache keyed on hashFiles('**/requirements.txt') restores the pip cache.

Exam tip

Caches speed builds but are not artifacts; do not rely on them for passing outputs between jobs.

Related terms