>
> I have some code like this:
>
> html anchor callback: [self nextImage];
> with: [html image fileName: '/resources/next.jpg';
> mimeType: 'image/jpg' ].
>
>
> When I modify the jpg file (next.jpg), the updated image is
> not displayed.
> It seems as if someone is caching the original image of 'next.jpg'.
>
> I have flushed the brower cache, restarted the WAKom server
> but no luck. How do I get the modified jpg file to be displayed?
>
> Thanks,
> Frank
>
Why not just do...
html anchor callback: [self nextImage];
with: [html image url: '/resources/next.jpg'].
Otherwise it'll get stored in a WACachedDocument
WACachedDocument clearCache, seems to be the appropriate place to flush that
cache, should you stick with this method.
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside