* Al Maw:
> Hi folks,
>
> See http://issues.apache.org/jira/browse/WICKET-750
>
> I'm not sure whether we should be doing what Pierre suggests or not.
>
> if (!Resource.isCacheable()) {
> response.setHeader("Cache-Control", "no-cache, must-revalidate")
> }
>
> ...does seem quite sensible. After all, if it's not cacheable, then you don't
> want it cached. ;-)
And it appeared that this was not sufficient to fix the following
usecase (as Pierre told me):
* you have a page with a dynamic resource <img
src="?wicket:interface:something">
* an ajax request changes the underlying image and the response
outputs the <img> with the exact same URL: nothing happens even
with cache headers like above
It seems like the real solution is to append &random=145 to the
URL. This may depend on the browser, and it would be interesting
to have a quickstart.
Did you also experience this?
--
Jean-Baptiste Quenot
aka John Banana Qwerty
http://caraldi.com/jbq/