Caching TTL values per repository
jean-christophe manciot
actionmystique at gmail.com
Thu Oct 31 19:41:51 CET 2019
Hi there,
I have defined some global cache TTL values in /etc/cgitrc:
cache-dynamic-ttl=0
cache-scanrc-ttl=0
cache-snapshot-ttl=0
cache-static-ttl=1440
For a particular repo <https://git.sdxlive.com/GNS3-Labs-Collection/> which
is not expected to be modified anytime soon and holds many objects, I have
tried to set other values in its own cgitrc:
cache-dynamic-ttl=-1
cache-scanrc-ttl=-1
cache-snapshot-ttl=-1
cache-static-ttl=-1
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 <https://git.sdxlive.com/GNS3-Labs-Collection/log/>.
- Is this behaviour expected because it is not possible to set cache values
per repository?
- or am I missing something?
--
Jean-Christophe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20191031/932fcadf/attachment.html>
More information about the CGit
mailing list