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
_______________________________________________
CGit mailing list
[email protected]
https://lists.zx2c4.com/mailman/listinfo/cgit

Reply via email to