diff options
author | James Moger <james.moger@gitblit.com> | 2013-07-19 10:46:16 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2013-07-19 10:50:32 -0400 |
commit | a7db5748622e1b322b67fbbd72aed4e6efff7690 (patch) | |
tree | 90e5ff60ee365da5b32388cfd790382672dbc232 /src/main/java/com/gitblit/wicket/pages/BranchesPage.java | |
parent | 0bfd34316b5903c29f93b352f0aa8e8cdce51cad (diff) | |
download | gitblit-a7db5748622e1b322b67fbbd72aed4e6efff7690.tar.gz gitblit-a7db5748622e1b322b67fbbd72aed4e6efff7690.zip |
Implemented optional page caching
Diffstat (limited to 'src/main/java/com/gitblit/wicket/pages/BranchesPage.java')
-rw-r--r-- | src/main/java/com/gitblit/wicket/pages/BranchesPage.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/com/gitblit/wicket/pages/BranchesPage.java b/src/main/java/com/gitblit/wicket/pages/BranchesPage.java index 8684fb3d..fe7483e4 100644 --- a/src/main/java/com/gitblit/wicket/pages/BranchesPage.java +++ b/src/main/java/com/gitblit/wicket/pages/BranchesPage.java @@ -17,8 +17,11 @@ package com.gitblit.wicket.pages; import org.apache.wicket.PageParameters;
+import com.gitblit.wicket.CacheControl;
+import com.gitblit.wicket.CacheControl.LastModified;
import com.gitblit.wicket.panels.BranchesPanel;
+@CacheControl(LastModified.REPOSITORY)
public class BranchesPage extends RepositoryPage {
public BranchesPage(PageParameters params) {
|