James Moger
2011-11-07 85079402ffa78dad8881eb0d48a32eb3eee8b919
Set resource cache duration to 90 days instead of 120 mins (issue-17)
1 files modified
5 ■■■■■ changed files
src/com/gitblit/wicket/GitBlitWebApp.java 5 ●●●●● patch | view | raw | blame | history
src/com/gitblit/wicket/GitBlitWebApp.java
@@ -69,6 +69,11 @@
            getRequestCycleSettings().setGatherExtendedBrowserInfo(true);
        }
        // configure the resource cache duration to 90 days for deployment
        if (!GitBlit.isDebugMode()) {
            getResourceSettings().setDefaultCacheDuration(90 * 86400);
        }
        // setup the standard gitweb-ish urls
        mount("/summary", SummaryPage.class, "r");
        mount("/log", LogPage.class, "r", "h");