AWS CodeBuild now supports an enhanced S3 caching experience. You can now define custom cache keys for more granular cache management and improved cache persistence across your builds. You can also share the cache keys across projects to use a common dependency cache to speed up your builds. AWS CodeBuild is a fully managed continuous integration service that compiles source code, runs tests, and produces software packages ready for deployment.
Additionally, CodeBuild added support for fallback keys, which allows partial matches when an exact cache key is not found. This capability enables efficient caching sharing between similar builds, such as builds with common dependencies, without needing to rebuild everything. You can also specify an optional action to skip the cache save or restore step for a more flexible cache management.
These caching enhancements are available in all AWS Regions where CodeBuild is offered. To learn more, please visit our documentation. To get started with CodeBuild, visit the AWS CodeBuild product page.
Source:: Amazon AWS