Skip to content

Caching

Compiler cache

Quick answer

A compiler cache such as ccache or sccache stores compiled object files keyed on preprocessed source, so identical compilations are served from cache rather than re-run.

A compiler cache such as ccache or sccache stores compiled object files keyed on preprocessed source, so identical compilations are served from cache rather than re-run.

Why it matters

It works across branches and across machines, which makes it more powerful than a build-directory cache — a colleague's compile can serve your CI job.

Your next build could be twice as fast, at half the price

Start free. Migrating away is the same one line, and we publish that diff too.