aboutsummaryrefslogtreecommitdiff
path: root/cgit/cgitrc
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2026-07-05 10:52:25 +0530
committerAkshay Nair <phenax5@gmail.com>2026-07-05 14:41:55 +0530
commiteca86870bf10c064a9f561249491f03c6e750a86 (patch)
tree95676411d6f95babd1fdf5231c6fecc44f94cab9 /cgit/cgitrc
parent2cd9a4039c0c5f524df0a33605c9baef1f57917e (diff)
downloadbacchus-remote-eca86870bf10c064a9f561249491f03c6e750a86.tar.gz
bacchus-remote-eca86870bf10c064a9f561249491f03c6e750a86.zip
Add fork/set-description git commands + optimizations
Diffstat (limited to '')
-rw-r--r--cgit/cgitrc20
1 files changed, 15 insertions, 5 deletions
diff --git a/cgit/cgitrc b/cgit/cgitrc
index 7c73534..468e859 100644
--- a/cgit/cgitrc
+++ b/cgit/cgitrc
@@ -57,28 +57,38 @@ readme=:install
# Cache
cache-root=/var/cache/cgit
-cache-size=0
+cache-size=3000
+cache-root-ttl=3
+cache-about-ttl=5
+cache-dynamic-ttl=15
+cache-repo-ttl=10
+cache-static-ttl=30
-enable-index-links=0
+enable-index-links=1
enable-index-owner=0
enable-remote-branches=1
enable-log-filecount=1
-enable-log-linecount=1
+enable-log-linecount=0 # This shit is slow
enable-tree-linenumbers=1
enable-git-config=1
enable-commit-graph=1
enable-follow-links=1
enable-http-clone=1
enable-html-serving=1
-snapshots=tar.xz zip
+enable-blame=1
+snapshots=tar.gz zip
remove-suffix=1
repository-sort=age
+max-repo-count=50
+max-blob-size=512
+max-commit-count=20
+max-message-length=72
+
# side-by-side-diffs=1
robots=index, nofollow
virtual-root=/
section-from-path=0
-max-repo-count=50
# Scan path has to be last
scan-path=/srv/git