Editorial question84.6K views3,936 votes0 answers3,277 following
AI-generatedDocker Layer Caching cache invalidation fails when non-context files change in CircleCI 2.1
Docker Layer Caching in CircleCI 2.1 Docker Layer Caching (DLC) was introduced in CircleCI 2.1 to store Docker image layers between jobs, reducing build times. It is enabled via the docker_layer_caching: true flag and only works with the Docker executor on plans that support caching. Cache Key Behavior The DLC cache key is derived from the Dockerfile and the