DAM AssetService Dataversion is cached on Dispatcher

Description

If a Dataversion from the DAM AssetService is requested through a dispatcher, all further requests can return a wrong version as the dispatcher returns a cached reply.
Imho Dataversion call should never be cached (e.g. through Header "Dispatcher": "no-cache")

Activity

Show:
Stefan Seifert
December 11, 2015, 11:32 AM

makes sense definitely.

probably we disable caching not only for dispatcher, but for other downstream proxies as well, e.g. via http://wcm.io/wcm/commons/apidocs/io/wcm/wcm/commons/caching/CacheHeader.html#setNonCachingHeaders-javax.servlet.http.HttpServletResponse-

Alexander Muthmann
December 11, 2015, 11:47 AM
Stefan Seifert
December 11, 2015, 11:56 AM

thanks, i've merged it and updated the unit test

Alexander Muthmann
December 11, 2015, 1:04 PM

Any chance for a release next week? We'd love to include this.

Stefan Seifert
December 16, 2015, 5:52 PM

release 1.2.0 is on maven central

Fixed

Assignee

Unassigned

Reporter

Alexander Muthmann

Labels

None

Components

Fix versions

Priority

Major