From a3a9f7288306802a80693fa0aa8213b65d932479 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Wed, 4 Nov 2026 20:33:08 -1000 Subject: Leave the scan uncached with a negative cache-size The page cache counts a cache-size of 0 or less as off, but scan-path cached its list for any value other than 0, so a negative one still wrote a list into cache-root. --- MANUAL.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'MANUAL.txt') diff --git a/MANUAL.txt b/MANUAL.txt index 33e5eaa..202ef80 100644 --- a/MANUAL.txt +++ b/MANUAL.txt @@ -89,9 +89,10 @@ cache-scan-ttl:: "scan-path", "The cache". cache-size:: - The maximum number of entries in the cgit cache. When set to "0", - caching is disabled. A scan-path caches its result only when this is - defined prior to it. Default value: "0". See also: "The cache". + The maximum number of entries in the cgit cache. When set to "0" or + less, caching is disabled, the scan-path result included. A scan-path + caches its result only when this is defined prior to it. Default value: + "0". See also: "The cache". cache-snapshot-ttl:: Number which specifies the time-to-live, in minutes, for the cached -- cgit 2.12.1