News for hackers. Stuff that matters.
Re:How to make Firefox builds 17% faster by amelius on Monday April 13, 2026 @05:29PM (#47758058)
Does ccache fetch compiled code from a central server using checksums?
Re:How to make Firefox builds 17% faster by fishgoesblub on Monday April 13, 2026 @07:15PM (#47759201)
buildcache, the program the post is about can use a remote server for storing the cache.
Re:How to make Firefox builds 17% faster by mbitsnbites on Tuesday April 14, 2026 @01:33AM (#47761636)
And a local cache (kind of level 1 and level 2 caches)
Re:How to make Firefox builds 17% faster by 01HNNWZ0MV43FF on Monday April 13, 2026 @05:59PM (#47758423)
sccache can, but most of us don't have access to an sccache instance: https://github.com/mozilla/sccache
Re:How to make Firefox builds 17% faster by mmastrac on Monday April 13, 2026 @08:33PM (#47759758)
sccache is pretty easy to set up and you can back it with S3, memcache, redis, etc.
Re:How to make Firefox builds 17% faster by mbitsnbites on Tuesday April 14, 2026 @02:44AM (#47762080)
Same with BuildCache, except you also get a fast local cache so you effectively have an L1 and an L2 cache.

In fact, since you also have super fast "direct mode" caching that bypasses the preprocessor (like ccache but unlike sccache), BuildCache really has three logical levels of cache: direct, preprocessor and remote (S3, redis, ...).

Re:How to make Firefox builds 17% faster by firesteelrain on Monday April 13, 2026 @10:40PM (#47760622)
We use sccache on prem with MinIO.