ccache Command Examples

C/C++ compiler cache. Note: packages usually provide symlinks for compilers in /usr/lib/ccache/bin. Prepend this directory to $PATH to automatically use ccache for them. More information: https://ccache.dev/manual/latest.html.

ccache --show-stats

ccache --clear

ccache --zero-stats

ccache gcc {{path/to/file.c}}