diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2024-03-02 10:47:04 +0000 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2024-03-02 10:47:55 +0000 |
commit | e336a1eba3ddb3f002ca3b73c2144b51199e5296 (patch) | |
tree | 92167c2dfb2c3a0ebf16525ad9e8b952c26e333b /etc | |
parent | 8d90d7a786603811129bd10885365c4d0f4c1fac (diff) |
Try make cgit log page load faster.
It took about 7 seconds to load https://git.flylightning.xyz/config_local_arch/log/
in the past. Now try disable some features to try to make it faster.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/cgitrc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -12,10 +12,10 @@ enable-follow-links=1 # useful but may makes page generation slow, maybe disable # can see the log via `journalctl -b -u uwsgi@cgit` and search less pager with sth. like `/[0-9]{3} msecs` enable-blame=1 -enable-log-filecount=1 -enable-log-linecount=1 +#enable-log-filecount=1 +#enable-log-linecount=1 # showing branch merge, ex: https://git.flylightning.xyz/dwm_fly/log/?h=fly -enable-commit-graph=1 +#enable-commit-graph=1 # not very useful, maybe disable enable-subject-links=1 |