From 58141fce80f108c302ad04b60dc7786e0817dbec Mon Sep 17 00:00:00 2001 From: Niels Kaspers Date: Fri, 28 Aug 2026 09:04:26 +0300 Subject: [PATCH] docs(build): document local cache reset option Change notes:\n- content/manuals/build/cache/backends/local.md: document the cache-to reset parameter, default, and cleanup behavior. --- content/manuals/build/cache/backends/local.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/manuals/build/cache/backends/local.md b/content/manuals/build/cache/backends/local.md index 69f32107c3d5..4efaa3e2843b 100644 --- a/content/manuals/build/cache/backends/local.md +++ b/content/manuals/build/cache/backends/local.md @@ -36,6 +36,7 @@ The following table describes the available CSV parameters that you can pass to | `compression-level` | `cache-to` | `0..22` | | Compression level, see [cache compression][3]. | | `force-compression` | `cache-to` | `true`,`false` | `false` | Forcibly apply compression, see [cache compression][3]. | | `ignore-error` | `cache-to` | Boolean | `false` | Ignore errors caused by failed cache exports. | +| `reset` | `cache-to` | `true`,`false` | `false` | Remove blobs from the cache directory that aren't referenced by the current manifests in `index.json`. Useful for preventing the local cache directory from growing indefinitely. | [1]: _index.md#cache-mode [2]: _index.md#oci-media-types