PDA

View Full Version : Slideshow images don't cache in Firefox



NoPants
06-19-2006, 10:39 PM
This is a very unusual problem that is probably not an issue for most people using the Ultimate Fade-in slideshow (v1.5) but it's huge for me. When you open the slideshow in Firefox and have the same page open in more than one tab, or in two different windows, then you refresh on of the windows the slideshow images will not stop reloading. Each image is downloaded again and the browser tries to save it to the cache every time it shows. Before you refresh there is no problem, only after you hit refresh on one of the browsers.

This is killing me on bandwidth because I have many sites that are being used as homepages for entire school districts (20-100 schools per. district) and this adds up to 1000's of pages being left open all day that never stop downloading.

I am pretty sure it's not my method of calling the script but if you need to see an example I am using it here: Site with active slideshow (http://www.lemmehaveit.com)

You can test it with HTTP Monitor, or the Firefox extention Tamper Data. The browser doesn't show any signs that the images are loading each time but if you track you http requests it will be there. I've tested this on several different sites, my own and yours and it appears to be universal. I have even tried it with other JavaScript slideshows that use a different method to accomplish the image changing and it happens on all of them. One thing I've noticed is that it's only happening on Firefox and not IE.