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/cgit.c')
-rw-r--r--source/cgit.c9
1 file changed, 2 insertions, 7 deletions