From mboxrd@z Thu Jan 1 00:00:00 1970 From: cgit at cryptocrack.de (Lukas Fleischer) Date: Wed, 5 Feb 2014 10:46:02 +0100 Subject: [PATCH 0/2] Add an option to cache snapshots Message-ID: <1391593564-10662-1-git-send-email-cgit@cryptocrack.de> 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