This diff adds support for caching builds. Screenshot showing an effect of cached vs non-cached build (3minutes vs 6 minutes):