Caching

Dependency Cache

A dependency cache stores downloaded packages or dependency-installation outputs for reuse across builds. Its correctness depends on compatibility with the current lockfile, operating system, architecture, and package manager rather than simply finding a matching directory.

Why it matters

Repeated package downloads can be avoided without skipping dependency consistency checks.

Practical example

Cache a package manager's download store while still running its lockfile-aware install command.

Related terms

Sources

Definition reviewed .

Start with $10 in free credits

Change the runner label in your workflow and keep the rest of your GitHub Actions setup. Runner time is billed per minute.

← Return to glossary