Increase cache age.

This commit is contained in:
Christian P. MOMON 2013-10-04 03:25:03 +02:00
parent 7f1e297a3a
commit ce9c2798eb

View file

@ -45,7 +45,7 @@ public class SimpleServletDispatcher extends HttpServlet
// static final protected Pattern LONG_REWRITED_URL_PARAMETERS = // static final protected Pattern LONG_REWRITED_URL_PARAMETERS =
// Pattern.compile("^.+-/(.)+*$"); // Pattern.compile("^.+-/(.)+*$");
static final private Pattern REWRITE_PARAMETER = Pattern.compile("[^%\\w\\d]"); static final private Pattern REWRITE_PARAMETER = Pattern.compile("[^%\\w\\d]");
static final public int CACHE_AGE = 60 * 60; static final public int CACHE_AGE = 2 * 60 * 60;
private String webclassesRootPath; private String webclassesRootPath;