Skip to content

Commit

Permalink
build: update build cache overview title
Browse files Browse the repository at this point in the history
Signed-off-by: David Karlsson <[email protected]>
  • Loading branch information
dvdksn committed Mar 13, 2024
1 parent 9ffb03a commit 4cd6393
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions content/build/cache/_index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Optimizing builds with cache management
title: Docker build cache
description: Improve your build speed with effective use of the build cache
keywords: build, buildx, buildkit, dockerfile, image layers, build instructions, build context
aliases:
Expand All @@ -9,7 +9,7 @@ aliases:
When you build the same Docker image multiple times, knowing how to optimize
the build cache is a great tool for making sure the builds run fast.

## How does the build cache work?
## How the build cache works

Understanding Docker's build cache helps you write better Dockerfiles that
result in faster builds.
Expand Down Expand Up @@ -64,7 +64,7 @@ anything differently, they still need to re-run.
> before it has changed, or by clearing the build cache using
> [`docker builder prune`](../../reference/cli/docker/builder/prune.md).
## How can I use the cache efficiently?
## Optimizing how you use the build cache
Now that you understand how the cache works, you can begin to use the cache to
your advantage. While the cache will automatically work on any `docker build`
Expand Down
2 changes: 1 addition & 1 deletion content/build/cache/backends/azblob.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ The environment variables are read from the server, not the Buildx client.

## Further reading

For an introduction to caching see [Optimizing builds with cache](../_index.md).
For an introduction to caching see [Docker build cache](../_index.md).

For more information on the `azblob` cache backend, see the
[BuildKit README](https://github.com/moby/buildkit#azure-blob-storage-cache-experimental).
2 changes: 1 addition & 1 deletion content/build/cache/backends/gha.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ For example:
## Further reading
For an introduction to caching see [Optimizing builds with cache](../_index.md).
For an introduction to caching see [Docker build cache](../_index.md).
For more information on the `gha` cache backend, see the
[BuildKit README](https://github.com/moby/buildkit#github-actions-cache-experimental).
Expand Down
2 changes: 1 addition & 1 deletion content/build/cache/backends/inline.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ $ docker buildx build --push -t <registry>/<image> \

## Further reading

For an introduction to caching see [Optimizing builds with cache](../index.md).
For an introduction to caching see [Docker build cache](../_index.md).

For more information on the `inline` cache backend, see the
[BuildKit README](https://github.com/moby/buildkit#inline-push-image-and-cache-together).
2 changes: 1 addition & 1 deletion content/build/cache/backends/local.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ $ docker buildx build --push -t <registry>/<image> \

## Further reading

For an introduction to caching see [Optimizing builds with cache](../_index.md).
For an introduction to caching see [Docker build cache](../_index.md).

For more information on the `local` cache backend, see the
[BuildKit README](https://github.com/moby/buildkit#local-directory-1).
2 changes: 1 addition & 1 deletion content/build/cache/backends/registry.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ fail, but the build continues.

## Further reading

For an introduction to caching see [Optimizing builds with cache](../_index.md).
For an introduction to caching see [Docker build cache](../_index.md).

For more information on the `registry` cache backend, see the
[BuildKit README](https://github.com/moby/buildkit#registry-push-image-and-cache-separately).
2 changes: 1 addition & 1 deletion content/build/cache/backends/s3.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ authentication using environment variables and credentials file.

## Further reading

For an introduction to caching see [Optimizing builds with cache](../_index.md).
For an introduction to caching see [Docker build cache](../_index.md).

For more information on the `s3` cache backend, see the
[BuildKit README](https://github.com/moby/buildkit#s3-cache-experimental).
2 changes: 1 addition & 1 deletion content/build/guide/layers.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ work at build time.

Related information:

- [Optimizing builds with cache](../cache/index.md)
- [Docker build cache](../cache/_index.md)
- [Dockerfile best practices](../../develop/develop-images/dockerfile_best-practices.md)

## Next steps
Expand Down
2 changes: 1 addition & 1 deletion data/toc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1819,7 +1819,7 @@ Manuals:
- sectiontitle: Cache
section:
- path: /build/cache/
title: Optimizing builds with cache
title: Overview
- path: /build/cache/garbage-collection/
title: Garbage collection
- sectiontitle: Cache backends
Expand Down

0 comments on commit 4cd6393

Please sign in to comment.