It seems strange that one can only enable caching of both HTML pages and
snapshots or disable it for both. This patch series addresses this
shortcoming and allows for more fine-grained control over what is
cached.

I find this quite useful on my cgit setups where I usually do not want
to enable caching of HTML pages.

Lukas Fleischer (2):
  Skip cache slot when time-to-live is zero
  Add a cache-snapshot-ttl configuration variable

 cache.c      | 2 +-
 cgit.c       | 6 ++++++
 cgit.h       | 1 +
 cgitrc.5.txt | 5 +++++
 4 files changed, 13 insertions(+), 1 deletion(-)

-- 
1.8.5.3

_______________________________________________
CGit mailing list
CGit@lists.zx2c4.com
http://lists.zx2c4.com/mailman/listinfo/cgit

Reply via email to