I pasted an AnticacheDecorator here: http://pastebin.com/NDePsj0F
you can use as: class Application { init(){ setRootRequestMapper(new AnticacheDecorator(getRootRequestMapper())); } } On Mon, May 16, 2011 at 11:36 AM, Martin Makundi <martin.maku...@koodaripalvelut.com> wrote: > Hi! > > Sounds nice, how exactly? > > ** > Martin > > 2011/5/16 Pedro Santos <pedros...@gmail.com>: >> 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 >> >> > > --------------------------------------------------------------------- > 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