optimize for build cache