G
Guest
I have a page where I use the same image as the css background url for a
number of elements (<li>'s and <a>'s). Rather than getting the image the
first time, caching it and redisplaying it, IE insists on retrieving the
image from the web server for each element where it is the background. Since
there are a large number of these on the page, this eats up signicant
bandwidth (number of elements x size of the image). I've tried absolute
paths and relative paths to the css background image, but it doesn't seem to
matter.
So far, my only solution is to explicitly include an <img> tag each place I
want it and use javascript to preload the image. This works but at the
expense of a very bloated page (though not as bad as loading the image
multiple times). Does anyone know how to get IE to recognize and cache the
image?
number of elements (<li>'s and <a>'s). Rather than getting the image the
first time, caching it and redisplaying it, IE insists on retrieving the
image from the web server for each element where it is the background. Since
there are a large number of these on the page, this eats up signicant
bandwidth (number of elements x size of the image). I've tried absolute
paths and relative paths to the css background image, but it doesn't seem to
matter.
So far, my only solution is to explicitly include an <img> tag each place I
want it and use javascript to preload the image. This works but at the
expense of a very bloated page (though not as bad as loading the image
multiple times). Does anyone know how to get IE to recognize and cache the
image?