From: Matti Tahvonen Date: Tue, 27 May 2008 07:17:44 +0000 (+0000) Subject: fixes #1730 X-Git-Tag: 6.7.0.beta1~4697 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=29ed6007752408ab8f38f7ac59969f90d6f7a326;p=vaadin-framework.git fixes #1730 svn changeset:4638/svn branch:trunk --- diff --git a/src/com/itmill/toolkit/Application.java b/src/com/itmill/toolkit/Application.java index d09500a6a2..37ef792c22 100644 --- a/src/com/itmill/toolkit/Application.java +++ b/src/com/itmill/toolkit/Application.java @@ -662,7 +662,11 @@ public abstract class Application implements URIHandler, Terminal.ErrorListener final ApplicationResource resource = (ApplicationResource) keyResourceMap .get(key); if (resource != null) { - return resource.getStream(); + DownloadStream stream = resource.getStream(); + if (stream != null) { + stream.setCacheTime(resource.getCacheTime()); + return stream; + } } // Resource requests override uri handling