]> source.dussan.org Git - vaadin-framework.git/commit
set Cache-Control and Expires header even when not-modified (#8757)
authorFabian Lange <lange.fabian@gmail.com>
Mon, 10 Nov 2014 18:07:12 +0000 (19:07 +0100)
committerVaadin Code Review <review@vaadin.com>
Mon, 1 Dec 2014 13:29:29 +0000 (13:29 +0000)
commitf301dd8d759c5006cb411df0e424a876e04b84fb
tree9397ba5c592238f412b1aceba4a56878e98e8b33
parent4af5c386282e476e95ae54d239a57f22ae0ba205
set Cache-Control and Expires header even when not-modified (#8757)

Usually first a resource is served with the lower code block. this
provides cache-control, expires and last-modification headers to the
browser. But when a not-modified response was served, these headers
were missing. This effectively caused the caching to no longer work once
the not-modified responses are sent out.

Change-Id: I9b1f0cacc91734f88bb0384872da0d426d4b5fe0
server/src/com/vaadin/server/VaadinServlet.java