summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/wicket/pages/SummaryPage.java
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/java/com/gitblit/wicket/pages/SummaryPage.java
parent0bfd34316b5903c29f93b352f0aa8e8cdce51cad (diff)
downloadgitblit-a7db5748622e1b322b67fbbd72aed4e6efff7690.tar.gz
gitblit-a7db5748622e1b322b67fbbd72aed4e6efff7690.zip
Implemented optional page caching
Diffstat (limited to 'src/main/java/com/gitblit/wicket/pages/SummaryPage.java')
-rw-r--r--src/main/java/com/gitblit/wicket/pages/SummaryPage.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/com/gitblit/wicket/pages/SummaryPage.java b/src/main/java/com/gitblit/wicket/pages/SummaryPage.java
index c231b2ba..17c41eb2 100644
--- a/src/main/java/com/gitblit/wicket/pages/SummaryPage.java
+++ b/src/main/java/com/gitblit/wicket/pages/SummaryPage.java
@@ -50,8 +50,10 @@ import com.gitblit.models.UserModel;
import com.gitblit.utils.JGitUtils;
import com.gitblit.utils.MarkdownUtils;
import com.gitblit.utils.StringUtils;
+import com.gitblit.wicket.CacheControl;
import com.gitblit.wicket.GitBlitWebSession;
import com.gitblit.wicket.WicketUtils;
+import com.gitblit.wicket.CacheControl.LastModified;
import com.gitblit.wicket.charting.SecureChart;
import com.gitblit.wicket.panels.BranchesPanel;
import com.gitblit.wicket.panels.LinkPanel;
@@ -59,6 +61,7 @@ import com.gitblit.wicket.panels.LogPanel;
import com.gitblit.wicket.panels.RepositoryUrlPanel;
import com.gitblit.wicket.panels.TagsPanel;
+@CacheControl(LastModified.REPOSITORY)
public class SummaryPage extends RepositoryPage {
public SummaryPage(PageParameters params) {