bit smarter docker caching