summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2010-03-15 07:08:06 +0000
committerArtur Signell <artur.signell@itmill.com>2010-03-15 07:08:06 +0000
commit28df48c74371fbe34e67269a5fa089169bd0da11 (patch)
tree6c8738067d24ff04a5546f32769e111cf9169cf1 /src/com/vaadin
parent1434622775068c2e02942baa39c08cae705797bd (diff)
downloadvaadin-framework-28df48c74371fbe34e67269a5fa089169bd0da11.tar.gz
vaadin-framework-28df48c74371fbe34e67269a5fa089169bd0da11.zip
Changed default resource cache time to 1 hour (#2586)
svn changeset:11857/svn branch:6.3
Diffstat (limited to 'src/com/vaadin')
-rw-r--r--src/com/vaadin/terminal/gwt/server/AbstractApplicationServlet.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/vaadin/terminal/gwt/server/AbstractApplicationServlet.java b/src/com/vaadin/terminal/gwt/server/AbstractApplicationServlet.java
index d3243fab73..199866cf89 100644
--- a/src/com/vaadin/terminal/gwt/server/AbstractApplicationServlet.java
+++ b/src/com/vaadin/terminal/gwt/server/AbstractApplicationServlet.java
@@ -1177,13 +1177,13 @@ public abstract class AbstractApplicationServlet extends HttpServlet implements
if (lastModifiedTime > 0) {
response.setDateHeader("Last-Modified", lastModifiedTime);
/*
- * The browser is allowed to cache for 5 minutes without checking if
+ * The browser is allowed to cache for 1 hour without checking if
* the file has changed. This forces browsers to fetch a new version
* when the Vaadin version is updated. This will cause more requests
* to the servlet than without this but for high volume sites the
* static files should never be served through the servlet.
*/
- response.setHeader("Cache-Control", "max-age: 900");
+ response.setHeader("Cache-Control", "max-age: 3600");
}
// Write the resource to the client.