Caching TTL values per repository

Lars Hjemli hjemli at gmail.com
Mon Nov 4 12:27:44 CET 2019


On Thu, Oct 31, 2019 at 7:42 PM jean-christophe manciot
<actionmystique at gmail.com> wrote:
> I have defined some global cache TTL values in /etc/cgitrc:
...
> For a particular repo which is not expected to be modified anytime soon and holds many objects, I have tried to set other values in its own cgitrc:
...
> However, they don't seem effective in the sense that some requests never seem to be cached at all and can take a very long time to complete; for instance, its log.
>
> - Is this behaviour expected because it is not possible to set cache values per repository?

Yes, the cache is shared by all repos so this behaviour is expected.

-- 
larsh


More information about the CGit mailing list