From aeea186bfac0dff666793bd941695d52b52c23ce Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Fri, 16 Oct 2026 06:12:55 -1000 Subject: 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. --- source/cgit.h | 1 - 1 file changed, 1 deletion(-) (limited to 'source/cgit.h') diff --git a/source/cgit.h b/source/cgit.h index b863e7b..a632fed 100644 --- a/source/cgit.h +++ b/source/cgit.h @@ -162,7 +162,6 @@ struct reflist { }; struct cgit_query { - int has_symref; int has_oid; int has_difftype; char *raw; -- cgit