From a9f4e24f2056a85616e0531ea31143d49f7f6ef2 Mon Sep 17 00:00:00 2001 From: NyanRus <68762426+nyanrus@users.noreply.github.com> Date: Mon, 24 Jun 2024 12:13:25 +0900 Subject: [PATCH] docs for zstd level that warns new cache required --- docs/Configuration.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/Configuration.md b/docs/Configuration.md index e60e0f76e..5b2657d6a 100644 --- a/docs/Configuration.md +++ b/docs/Configuration.md @@ -133,7 +133,10 @@ configuration variables * `SCCACHE_MAX_FRAME_LENGTH` how much data can be transferred between client and server * `SCCACHE_NO_DAEMON` set to `1` to disable putting the server to the background * `SCCACHE_CACHE_MULTIARCH` to disable caching of multi architecture builds. -* `SCCACHE_CACHE_ZSTD_LEVEL` to set zstd compression level of cache. the range is `1-22` and default is `3`. For example, in `10`, about 90% size with about 160% time than default `3` for making cache of compiling sccache code. +* `SCCACHE_CACHE_ZSTD_LEVEL` to set zstd compression level of cache. the range is `1-22` and default is `3`. + - For example, in `10`, it have about 0.9x size with about 1.6x time than default `3` (tested with compiling sccache code.) + - This option will only applied to newly compressed cache and don't affect existing cache. + - If you want to be apply to all cache, you should reset cache and make new cache. ### cache configs