Re:Apple's Module proposal to replace headers for C-based la...
by plorkyeran on Monday November 26, 2012 @07:26PM
(#4834824)
ccache doesn't cache the results of compiling each individual header. Other than the shared cache, ccache is conceptually just a workaround for deficiencies in make.
I'm not sure how it gets away with this and works as well as it does. Maybe there is a behind the scenes check that I don't know about? In any case, it might be a good framework to add the caching you describe.