5 This is an attempt to create a fast web interface for the git scm, using a
6 builtin cache to decrease server io-pressure.
15 Note: cgit requires the git and xdiff libraries. Currently, the makefile
16 expects these files to be found in '../git/libgit.a' and '../git/xdiff/lib.a',
17 where they will be if you have built git from source in a parallell directory.
22 The file /etc/cgitrc is read by cgit before handling a request. A template
23 cgitrc is shipped with the sources, and all parameters and default values
24 can be found in this file.
29 When cgit is invoked it looks for a cachefile matching the request and
30 returns it to the client. If no such cachefile exist (or if it has expired),
31 the content for the request is written into the proper cachefile before the
34 If the cachefile has expired but cgit is unable to obtain a lock for it, the
35 stale cachefile is returned to the client. This is done to favour page
36 throughput over page freshness.
38 The generated content contains the complete response to the client, including
39 the http-headers "Modified" and "Expires".