Maybe try asking the server for a base64 encoded image and then save
the string, and once you need to display your image you can do:
data:image/png;base64,BASE64_ENCODED_IMAGE_HERE
in the src value of an image tag.

On 3 ספטמבר, 16:59, dduck <[email protected]> wrote:
> On 3 Sep., 14:37, Thomas Broyer <[email protected]> wrote:
>
> > On Sep 3, 2:24 pm, dduck <[email protected]> wrote:
> > If you want to cache images, you have to have your server send the
> > appropriate HTTP headers so the browser itself appropriately uses the
> > image from its cache.
>
> Unfortunately it seems that most browsers are smart enough to cache
> images that have been fully transfered, but not smart enough to
> consolidate overlapping requests such as this:
>
> time:0 fetch image1
> time:10 fetch image1
> time:20 Image 1 ready

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to