IE6 not caching images

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
BPI
Beginner
Beginner
Posts: 7
Joined: Mon Feb 14, 2005 10:15 pm

IE6 not caching images

Post by BPI »

Greetings,

We recently updated to the latest version of the menu and would like to use images (before we just had text). However, the images do not seem to cache in IE6 and re-download from our server each time you move over a new menu listing. This problem ONLY happens on IE6, the menus look great on Netscape and Firefox.

We have duplicated the Milonic style menu and put it on a test page for troubleshooting. Please take a look at http://www.clickwrestle.com/temp.php

On IE6 when hovering over the menu items, the images are all re-loaded, causing a major delay. This does not happen in Netscape or Firefox, but needless to say, we need it to work in IE. We have tried the preloader.js file and the BuildMenus option with no luck.

Thanks in advance!
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

I am unable to locate any of the menu code files (according to paths in the source). Error messages say unavailable or not found. What is the exact path to the files?
John
BPI
Beginner
Beginner
Posts: 7
Joined: Mon Feb 14, 2005 10:15 pm

Post by BPI »

User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

That's what I tried earlier - NG. Even with your links I still get a not found error.
John
BPI
Beginner
Beginner
Posts: 7
Joined: Mon Feb 14, 2005 10:15 pm

Post by BPI »

When I try the links just posted, I get prompted to save or open the file, no errors.

Can you view the menu at http://www.clickwrestle.com/temp.php ?

Any other suggestions?
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Yes, I can see the menu there, but can't get the code files.
John
BPI
Beginner
Beginner
Posts: 7
Joined: Mon Feb 14, 2005 10:15 pm

Post by BPI »

We tried the links from 3 computers and they all work. Since the menu is working, the files are obviosuly there. Any other suggestions to get you the files? Can I email them? I would like to resolve this issue.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Just FYI, I can get the files when clicking the links.

Ruth
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

it's not caching anything on mine, but the temp.php. Do you have to rename the menu_data.js file to menu_data.php?

Ruth
BPI
Beginner
Beginner
Posts: 7
Joined: Mon Feb 14, 2005 10:15 pm

Post by BPI »

Strange thing is, it caches all the images on Netscape and Firefox. IE is the only browser that does not want to cache the images.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Ruth wrote:Just FYI, I can get the files when clicking the links.
Crazy. I can get them everyplace but here!
John
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Again, FYI, I can put the url in for the images, and get the pages, but they are not put into the temp internet files, really strange. The only thing that gets put there is the temp.php file. I know that this site is php, and I know that Andy has named the menu_data file as menu_data.php.

Ruth
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Yeah, I just discovered that. It's seeing the files, but not loading them into temp. I wound up doing a save, then I could get at them.
John
BPI
Beginner
Beginner
Posts: 7
Joined: Mon Feb 14, 2005 10:15 pm

Post by BPI »

As a test, I created the same page as basic html.

http://www.clickwrestle.com/temp.htm

Same problem happens. Works great in Netscape/Firefox, but not IE.
BPI
Beginner
Beginner
Posts: 7
Joined: Mon Feb 14, 2005 10:15 pm

Post by BPI »

Problem Fixed!

I'm happy to report that we fixed the bug and it had nothing to do with the menu. Here is the solution...

In IIS under properties for the folder /images/menu HTTP HEADERS was set to "Enable Content Expiration". Turning this off now allows the images to be cached correctly.

Thanks for the help, hope this information can assist others.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Glad you got it fixed, nice to know it's not a menu issue. And, thanks for posting the solution so if others encounter the problem it's here for them!

Ruth
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

To confirm:

Just had a look with IE6, and the files seem to be caching fine.

Kevin
Post Reply