Enable cgit caching.
* modules/openstack_project/files/cgitrc: Allow 1000 cache entries. Set TTL for dynamic pages, repo summary pages, and the cgit front page to one minute. Rely on the cache defaults for other pages. The various options and their defaults can be viewed in cgitrc(5). Change-Id: I49192b1ac43446a54b8ae98a44df5860bbafe1e0
This commit is contained in:
parent
ed5b202ff8
commit
684db551cf
@ -3,7 +3,16 @@
|
||||
#
|
||||
|
||||
# Enable caching of up to 1000 output entries
|
||||
cache-size=0
|
||||
cache-size=1000
|
||||
|
||||
# Cache repository pages without a fixed SHA for one minute.
|
||||
cache-dynamic-ttl=1
|
||||
|
||||
# Cache repo summary page for one minute.
|
||||
cache-repo-ttl=1
|
||||
|
||||
# Cache cgit front page for one minute.
|
||||
cache-root-ttl=1
|
||||
|
||||
# Specify some default clone prefixes
|
||||
clone-prefix=git://git.openstack.org https://git.openstack.org
|
||||
|
Loading…
x
Reference in New Issue
Block a user