[PATCH] Skip cache slot when time-to-live is zero

Lukas Fleischer cgit at cryptocrack.de
Thu Feb 20 21:07:14 CET 2014


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?

> [...]


More information about the CGit mailing list