Cache URLs containing SHA hashes for 2 hours + The git content of these urls will never change, and when navigating through a tree or traversing blame history, the cost of each request adds up. + Add a stale-while-revalidate[1] of 1 week. [1] https://www.mnot.net/blog/2014/06/01/chrome_and_stale-while-revalidate Change-Id: I3af9782036aa238dcae7b543935d16c46212dd61
Gitiles is a simple repository browser for Git repositories, built on JGit. Its guiding principle is simplicity: it has no formal access controls, no write access, no fancy Javascript, etc.
Gitiles automatically renders *.md Markdown files into HTML for simplified documentation. Refer to the Markdown documentation for details.
Gitiles is configurable in a git-style configuration file named gitiles.config. Refer to the configuration documentation for details.
Please refer to the Developer Guide.