Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Say minutes once in the cache ttl comments
Diffstat (limited to '')
-rw-r--r--custom/cgitrc21
1 file changed, 9 insertions, 12 deletions
diff --git a/custom/cgitrc b/custom/cgitrc
index fa741c0..46a4b57 100644
--- a/custom/cgitrc
+++ b/custom/cgitrc
@@ -22,33 +22,30 @@ cache-size=0
# every rendered page and the URLs visitors asked for.
cache-root=/var/cache/cgit
-# Minutes to cache the repository index page. Value is an integer number of
-# minutes. Default is 5.
+# Minutes to cache the repository index page. Value is an integer. Default is 5.
cache-index-ttl=5
-# Minutes to cache the repository summary page. Value is an integer number of
-# minutes. Default is 5.
+# Minutes to cache the repository summary page. Value is an integer. Default is
+# 5.
cache-summary-ttl=5
# Minutes to cache the result of scanning a path for repositories. Value is an
-# integer number of minutes. Default is 15.
+# integer. Default is 15.
cache-scan-ttl=15
# Minutes to cache repository pages requested with a fixed object id. A negative
-# value keeps the page forever. Value is an integer number of minutes. Default
-# is -1.
+# value keeps the page forever. Value is an integer. Default is -1.
cache-static-ttl=-1
# Minutes to cache repository pages requested without a fixed object id. Value
-# is an integer number of minutes. Default is 5.
+# is an integer. Default is 5.
cache-dynamic-ttl=5
-# Minutes to cache the repository about page. Value is an integer number of
-# minutes. Default is 15.
+# Minutes to cache the repository about page. Value is an integer. Default is
+# 15.
cache-about-ttl=15
-# Minutes to cache snapshots. Value is an integer number of minutes. Default is
-# 5.
+# Minutes to cache snapshots. Value is an integer. Default is 5.
cache-snapshot-ttl=5
# Largest response, in kilobytes, that a cache slot keeps. A larger one is