Ccache is a compiler cache. It speeds up recompilation by caching previous compilations and detecting when the same compilation is being done again. Ccache is free software, released under the GNU General Public License version 3 or later. Supports GCC, Clang, MSVC (Microsoft Visual C++) and other similar compilers. Works on Linux, macOS, other Unix-like operating systems and Windows. Understands C, C++, assembler, CUDA, Objective-C and Objective-C++. Supports secondary storage over HTTP (e.g. using Nginx or Google Cloud Storage), Redis or local filesystem, optionally sharding data onto a server cluster. Supports fast "direct" and "depend" modes that don't rely on using the preprocessor. Supports compression using Zstandard. Checksums cache content using XXH3 to detect data corruption. Keeps statistics on hits/misses. Automatic cache size management. Easy installation.

Features

  • Easy installation, easy to use
  • Low overhead
  • Support for rewriting absolute paths to relative in order to increase the cache hit ratio
  • Optionally uses file cloning (AKA “reflinks”) where possible to avoid copies
  • Optionally uses hard links where possible to avoid copies
  • Keeps statistics on hits/misses

Project Samples

Project Activity

See All Activity >

Categories

Compilers

Follow Ccache

Ccache Web Site

Other Useful Business Software
Catch Bugs Before Your Customers Do Icon
Catch Bugs Before Your Customers Do

Real-time error alerts, performance insights, and anomaly detection across your full stack. Free 30-day trial.

Move from alert to fix before users notice. AppSignal monitors errors, performance bottlenecks, host health, and uptime—all from one dashboard. Instant notifications on deployments, anomaly triggers for memory spikes or error surges, and seamless log management. Works out of the box with Rails, Django, Express, Phoenix, Next.js, and dozens more. Starts at $23/month with no hidden fees.
Try AppSignal Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Ccache!

Additional Project Details

Programming Language

C++

Related Categories

C++ Compilers

Registered

2022-05-25