Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

zccache

github.com

  • Free plan
  • Windows
  • macOS
  • Linux
  • API
  • Self-hosted
7.4 Club score Visit github.com

What zccache is

zccache is a free, open-source local-first compiler cache for C, C++, Rust, and Emscripten projects. It is described as a drop-in replacement for sccache and ccache. A persistent daemon watches the filesystem and keeps file metadata in memory to speed cache lookups. The README lists support for wasm-ld, clang-tidy, include-what-you-use, rustfmt, and clippy, alongside regular builds. Integrations cover Ninja, CMake, Meson, Make, Cargo through RUSTC_WRAPPER, and Python tools such as setuptools-rust, maturin, and scikit-build-core. Its composite GitHub Action provides compilation and Cargo registry cache layers, with optional target snapshots and cache warming. Storage support is listed for local filesystems and GitHub Actions Cache; remote execution is not provided. Installation options include shell and PowerShell installers, release archives, PyPI wheels, and crates.io packages. Linux, macOS, and Windows are supported. The project uses AGPL-3.0-only licensing.

Who it suits

zccache suits developers and teams building C, C++, Rust, or Emscripten projects with supported build systems. It is relevant when local or GitHub Actions caching is sufficient and remote execution is unnecessary.

Good to know, and what to watch

  • Free and open source
  • Supports C, C++, Rust, and Emscripten
  • Integrates with several build systems
  • Provides a GitHub Actions cache layer
  • Offers local and self-hosted use
  • CUDA and nvcc are unsupported
  • MSVC cl.exe/link.exe support is partial
  • Remote execution is not provided
  • Distributed storage backends are unsupported

The verdict

zccache focuses on compiler caching across common native and Rust workflows. Its daemon, build integrations, and GitHub Actions support are useful, but projects needing CUDA, full MSVC coverage, or remote execution should note the listed limits.

What the maker publishes

Build integrations
The README documents integration with Ninja, CMake, Meson, Make, Cargo through RUSTC_WRAPPER, and Python build tools including setuptools-rust, maturin, and scikit-build-core. source
Build integrations
It documents integration with Ninja, CMake, Meson, Make, Cargo through RUSTC_WRAPPER, and Python build tools including maturin. source
Cache architecture
It uses a persistent daemon, filesystem watching, and in-memory file metadata to speed up cache lookups. source
Cache design
It uses a persistent daemon, filesystem watching, and in-memory file metadata to speed up cache lookups. source
Cache limits
The default artifact budget is 5% of filesystem capacity, clamped to 40–200 GiB, with configurable size overrides and LRU eviction. source
Cache retention
The daemon manages cache retention, with a default artifact budget of 5% of filesystem capacity clamped to 40–200 GiB, subject to free-space adjustments. source
CI integration
The project provides a composite GitHub Action with compilation and Cargo registry caching, plus optional target snapshots and cache warming. source
GitHub Actions
The project provides a composite GitHub Action with compilation and Cargo registry cache layers, plus an optional target snapshot cache. source
Headquarters
San Francisco, United States source
Installation
The README provides shell and PowerShell installers, platform-specific release archives, PyPI wheels, and crates.io packages. source
Known coverage limit
The feature matrix marks CUDA/nvcc unsupported and MSVC cl.exe/link.exe support as partial. source
License
The project states that it is licensed under GNU Affero General Public License v3.0 only (AGPL-3.0-only). source
License
The repository identifies its license as AGPL-3.0. source
Maintenance and support
The repository exposes GitHub Issues and Pull Requests for project discussion and contributions. source
Platforms
The feature matrix lists Linux x86_64 and aarch64, macOS x86_64 and arm64, and Windows x86_64 and arm64 builds. source
Platforms
The README lists Linux, macOS, and Windows binaries, including Linux aarch64, Apple Silicon, and Windows arm64 release archives. source
Purpose
zccache is a local-first compiler cache for C/C++ and Rust, described as a drop-in replacement for sccache and ccache. source
Purpose
zccache is a local-first compiler cache for C/C++ and Rust, described as a drop-in replacement for sccache and ccache. source
Storage
The feature matrix lists local filesystem and GitHub Actions Cache support, and marks S3, Google Cloud Storage, Redis, Memcached, Azure Blob, and distributed build farms unsupported. source
Storage
The feature comparison lists local filesystem storage and GitHub Actions Cache support, but marks S3, Google Cloud Storage, Redis, Memcached, Azure Blob, and distributed build farms unsupported. source
Supported tools
The README lists caching support for C/C++ and Rust builds, Emscripten, wasm-ld, clang-tidy, include-what-you-use, rustfmt, and clippy. source
Supported tools
The README lists support for Emscripten, wasm-ld, clang-tidy, include-what-you-use, rustfmt, and clippy. source
Target snapshot limit
In the GitHub Action, target snapshot caching is disabled by default and its default maximum snapshot size is 2GiB. source
Windows helper
The CLI includes commands to check, add, and remove Windows Defender exclusions for the cache directory; adding one requires elevated privileges. source

Checked against the maker's pages on 8 Oct 2026.