You can decorate applicaiton's root request mapper to set in the anticache parameter in the mapped URL. You can also add a listener invoking WebResponse#disableCaching for all your responses.
On Mon, May 16, 2011 at 10:20 AM, Martin Makundi <martin.maku...@koodaripalvelut.com> wrote: > Hi! > > We are disabling versioning and this results in problems with browsers > (chrome) which seems to load pages from cache. > > We would like to add something similar as in NonCachingImage to each url. > > How can this be done centrally for whole application with minimal change? > > Something like: > url = url + "wicket:antiCache=" + System.currentTimeMillis(); > > > ** > Martin > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Pedro Henrique Oliveira dos Santos --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org