diff --git a/doc/manual/rl-next/narinfo-cache-meta-ttl.md b/doc/manual/rl-next/narinfo-cache-meta-ttl.md new file mode 100644 index 000000000..ba5116ace --- /dev/null +++ b/doc/manual/rl-next/narinfo-cache-meta-ttl.md @@ -0,0 +1,6 @@ +--- +synopsis: New setting `narinfo-cache-meta-ttl` +prs: [15287] +--- + +The new setting `narinfo-cache-meta-ttl` controls how long binary cache metadata (i.e. `/nix-cache-info`) is cached locally, in seconds. This was previously hard-coded to 7 days, which is still the default. As a result, you can now use `nix store info --refresh` to check whether a binary cache is still valid.