Browser respect cache control headers of the HTTP response, u can set your
caching rules there.

On Sat, Mar 19, 2011 at 5:39 AM, Arjun Dhar <dhar...@yahoo.com> wrote:

> Hi,
>  I have a resource (an Image which exists on the File System outside the
> Web
> Context).
> I stream the image resource. The problem really is that while the speed to
> download an image within web-context and outside is the same .... the one
> within Web-Context is always cached by the browser.
>
> Am not sure this is a pure wicket question, but anyone know the rules for
> browser caching images? As long as the "src" link is the same and
> independent of session why would the browser not cache it?
>
> I also created a simple DownloadServlet and same result. URL -->
> "/DownloadServlet?file=abc".
>
>
> -----
> Don't take life too seriously, your'e not getting out it alive anyway!
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Caching-Streamed-Images-on-browser-tp3389269p3389269.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


-- 
Pedro Henrique Oliveira dos Santos

Reply via email to