GitHub Actions Cache
Drop-in replacement for GitHub's built-in cache. Works with actions/cache@v4+ and language setup actions. No workflow changes.
Learn more →
Avrea Cache eliminates the network round-trips that slow down workflows on Avrea runners. Your builds hit caches colocated with your runners instead of fetching from remote storage. Workflows run directly by Avrea CI have separate cache support and limits.
For reusable job outputs, see the Avrea cache action guide
for avrea-com/cache usage and migration from actions/cache. For dependency
downloads and supported build outputs, prefer the automatic integrations below.
Five cache types work together, each targeting a different part of the pipeline:
GitHub Actions Cache
Drop-in replacement for GitHub's built-in cache. Works with actions/cache@v4+ and language setup actions. No workflow changes.
Learn more →
Git Checkout Acceleration
Preloads repositories and eligible submodules from datacenter-local Git mirrors before actions/checkout runs.
Learn more →
Git LFS Cache
Pull-through caching for large files stored with Git LFS. Repeated checkouts avoid downloading the same objects from GitHub again. Learn more →
Build Cache
Remote caching for build tools. Shares compilation artifacts across jobs and branches so rebuilds only recompile what changed. Learn more →
Package Cache
Pull-through proxy for package registries. Caches downloaded packages locally so npm install, pip install, and go mod download resolve instantly on repeat runs.
Learn more →
All five caches run on the same infrastructure as your Avrea runners. When a workflow runs:
No self-hosted infrastructure to manage. No S3 buckets to configure. Avrea handles storage, eviction, and lifecycle.
On Avrea runners, most caching is pre-configured:
| Layer | Configuration | What you do |
|---|---|---|
| GitHub Actions | Fully automatic | Use actions/cache@v4+ as normal |
| Git checkout | Automatic when enabled | Turn on Git Checkout Acceleration; keep using actions/checkout |
| Git LFS | Automatic when enabled | Turn on Git LFS Cache; keep using Git LFS as normal |
| Build cache | Environment variables and config files injected | Some tools need minor workflow additions |
| Package cache | Registry URLs pre-configured | Package managers resolve through cache automatically |
See the individual integration pages for tool-specific details.
Workflow runs and jobs show cache hit rates, bytes served and written, transfer errors, and supported build-client details. See Cache Stats for field definitions, coverage states, and the additional diagnostics available for GitHub Actions, package, Go, Xcode, and Gradle caches.
Organization-private Swift package payloads use separate, organization-isolated artifact storage and do not count against the repository cache quota.
See Storage & Eviction for details.