To allow fast compilations of huge projects written in C family languages, where multiple builds are maintained and delta between each build is huge. Here ccache reuses precompiled data and increases speed many folds.
Read this post on prafiles.blogspot.com