From mboxrd@z Thu Jan 1 00:00:00 1970 From: cgit at cryptocrack.de (Lukas Fleischer) Date: Thu, 20 Feb 2014 21:07:14 +0100 Subject: [PATCH] Skip cache slot when time-to-live is zero In-Reply-To: <1392926362-8162-1-git-send-email-cgit@cryptocrack.de> References: <1392926362-8162-1-git-send-email-cgit@cryptocrack.de> Message-ID: <20140220200714.6699.46618@typhoon.lan> On Thu, 20 Feb 2014 at 20:59:22, Lukas Fleischer wrote: > [...] > diff --git a/cgitrc.5.txt b/cgitrc.5.txt > index a437fc4..7158c10 100644 > --- a/cgitrc.5.txt > +++ b/cgitrc.5.txt > @@ -61,37 +61,43 @@ cache-root:: > cache-static-ttl:: > Number which specifies the time-to-live, in minutes, for the cached > version of repository pages accessed with a fixed SHA1. Negative > - values have infinite ttl. Default value: -1". > + values have infinite ttl, zero means that the cache is disabled for > + this type of pages. Default value: -1". Suggestions for better wording welcome, by the way. I also think that the already existing text "Negative values have infinite ttl" sounds a bit strange. Opinions? > [...]