aboutsummaryrefslogtreecommitdiffstats
path: root/roles/cgit/templates/cgitrc.j2
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2021-12-22 11:53:14 +0000
committerRomain Gonçalves <me@rgoncalves.se>2021-12-22 11:53:14 +0000
commit2cbeca09fc9e2a53b0c1d5881f91d3d22518f16b (patch)
treebb2cae32e858a98ad5082cebbd7291a72911990c /roles/cgit/templates/cgitrc.j2
parenta95e4d859bd3f108829f8e58ed7a6df025eb1151 (diff)
downloadrules-2cbeca09fc9e2a53b0c1d5881f91d3d22518f16b.tar.gz
roles/cgit: Enable cache
Diffstat (limited to 'roles/cgit/templates/cgitrc.j2')
-rw-r--r--roles/cgit/templates/cgitrc.j24
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/cgit/templates/cgitrc.j2 b/roles/cgit/templates/cgitrc.j2
index 40b4b07..2b01ef4 100644
--- a/roles/cgit/templates/cgitrc.j2
+++ b/roles/cgit/templates/cgitrc.j2
@@ -6,6 +6,10 @@ logo={{ cgit__logo }}
favicon={{ cgit__favicon }}
footer={{ cgit__footer }}
+# cache
+cache-root=/cache/cgit
+cache-size=100
+
# readme
readme=:README.md
readme=:README.org
remember that computers suck.