You're developing a large-scale application on Google Cloud Platform and utilizing Cloud Build for your CI/CD pipeline. Considering build optimization, how can you reduce the build time when the codebase is extensive, and you're only making small changes frequently?