summaryrefslogtreecommitdiffstats
path: root/src/main/distrib/data/gitblit.properties
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2013-07-19 10:46:16 -0400
committerJames Moger <james.moger@gitblit.com>2013-07-19 10:50:32 -0400
commita7db5748622e1b322b67fbbd72aed4e6efff7690 (patch)
tree90e5ff60ee365da5b32388cfd790382672dbc232 /src/main/distrib/data/gitblit.properties
parent0bfd34316b5903c29f93b352f0aa8e8cdce51cad (diff)
downloadgitblit-a7db5748622e1b322b67fbbd72aed4e6efff7690.tar.gz
gitblit-a7db5748622e1b322b67fbbd72aed4e6efff7690.zip
Implemented optional page caching
Diffstat (limited to 'src/main/distrib/data/gitblit.properties')
-rw-r--r--src/main/distrib/data/gitblit.properties7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/distrib/data/gitblit.properties b/src/main/distrib/data/gitblit.properties
index f6ed3833..1ee6d800 100644
--- a/src/main/distrib/data/gitblit.properties
+++ b/src/main/distrib/data/gitblit.properties
@@ -616,6 +616,13 @@ web.enableRpcAdministration = false
# BASEFOLDER
web.robots.txt = ${baseFolder}/robots.txt
+# The number of minutes to cache a page in the browser since the last request.
+# The default value is 0 minutes. A value <= 0 disables all page caching which
+# is the default behavior for Gitblit <= 1.3.0.
+#
+# SINCE 1.3.1
+web.pageCacheExpires = 0
+
# If true, the web ui layout will respond and adapt to the browser's dimensions.
# if false, the web ui will use a 940px fixed-width layout.
# http://twitter.github.com/bootstrap/scaffolding.html#responsive