]> 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)
committerSauli Tähkäpää <sauli@vaadin.com>
Tue, 2 Dec 2014 06:02:50 +0000 (08:02 +0200)
commit65754053fb92b26b1df4cafd0605e6c2546f204e
treec8bc0a21b7bebddb04c360c875a93667d9b20084
parentbf8772fba339c6a09654f1631673d3e6b1dfcbe7
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