I'm not sure adding HTTP headers will do the trick. If Wicket Ajax is
modifying the URL of the IMG SRC, but the URL is exactly the same as
before the AJAX request, will the browser even bother to reload it?
Igor Vaynberg wrote:
well, this image is a resource that you are generating right? so, you
are streaming it and you are free to add any anti caching headers to it.
-Igor
On 4/3/06, * Ray Cromwell* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Ray Cromwell wrote:
> Igor Vaynberg wrote:
>
>> i think this is indeed an image caching issue and ajax cannot
>> forcefully reload the image because all ajax does is update the <img
>> src="foo"/> tag. give the random number idea a try, easy enough
and i
>> used it myself a couple of times to great results.
>>
>
> I'm new to wicket, so what's the best way to add a random string
to the
> URL generated by Image when it is rendered?
Igor, any suggestions? BTW, should this be something that Wicket does
automagically? Either by having the JavaScript force a reload if image
resources or others are modified, or by adding anti-caching strings to
the automatically generated SRC urls?
-Ray
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding
territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
<http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642>
_______________________________________________
Wicket-develop mailing list
[email protected]
<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/wicket-develop
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop