PDA

View Full Version : Fadeshow|IE6 image caching issue



tutejaamit5
08-19-2008, 11:08 AM
1) Script Title: fadeshow

2) Script URL (on DD): http://dynamicdrive.com/dynamicindex14/fadeinslideshow.htm

3) Describe problem:
This slide show works perfectly in IE7 and Mozilla and sends request to server only for first time for fetching images and thereafter image is picked from cache, but in IE6 everytime an image source is changed a request is sent back to server for fetching the next image.

Does anyone know any workaround for fetching images from cache in IE6 instead of sending request everytime back to server.

Though when i crosschecked in IE6 '304' error was returned everytime an request was sent back from IE6 but still requests keep on going on.

We know that this is the known bug in IE6,but still looking for some workarounds.
We cannot cache the image through IIS caching mechanism because images resides in database and not on file system.

Please help with some workaround.

Amit

rangana
08-19-2008, 12:50 PM
You might find the script posted on the link below useful:
http://codingforums.com/showpost.php?p=716166&postcount=3

tutejaamit5
08-27-2008, 03:58 AM
Hi ranagana,

Thanks for the reply.
Just a small query.
In addition to the above javascript show, i have a bunch of other images which are coming from cached file location and sprite images.
I faced no problem in that, but as these images are coming from database and javascript is creating the image tag again and again may be because of that i am facing these issues.
Could you please let me know if the above function will not remove caching of other images?

I am not an Javascript expert,so just wanted to confirm.

Thanks for your reply.

Amit

rangana
08-27-2008, 04:34 AM
I'm not certain, but I think it will remove all the images stored in the cache. Please let us know how it goes to affirm the doubt.

codeexploiter
08-27-2008, 05:14 AM
It seems that the caching of image issue is a part of IE6. Here is an interesting article about the problem and some work around.
http://ahinea.com/en/tech/ie-dhtml-image-caching.html

The link rangana posted seems to be related to the CSS background image bug in IE6.