Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Cache every branch page under cache-dynamic-ttl
The dynamic ttl only applied when the url named a branch with h=, so the log, tree and refs of the default branch, which never carry one, fell back to cache-summary-ttl. The manual already gives each ttl the scope the code now uses.
Diffstat (limited to 'source')
-rw-r--r--source/cgit.c9
-rw-r--r--source/cgit.h1
2 files changed, 2 insertions, 8 deletions