Welcome to WebmasterWorld Guest from 54.158.143.40

Forum Moderators: open

Message Too Old, No Replies

swf not showing, cache problems in IE?

swf file doesn't always appear when using IE7 wondering if its due to cache

   
3:42 pm on Jun 10, 2008 (gmt 0)

10+ Year Member



If I clear IE's cache and go to the home page the embedded swf file appears and plays.

If I then browse around the site and return to the first page it is fine again.

BUT, if I go off surf elsewhere, maybe close down browser and come back to it at a later time it thinks everything is OK but doesn't play. Right click on placeholder shows flash options (zoom etc) but swf is blank.

shift-F5 doesn't help.

clearing cache, then re-fresh works. but for the love of god why! I've been pulling me hair out on this.

I tried tagging the swf call with random numbers to simulate a different call each page load. didn't work.

I've stopped the site from caching now, not sure if works yet, maybe, but surely you don't have to do this with all sites that run swf files.

FYI: static embed the swf file in the site using code example from google and swfobject (used the generator as well in case I manually screwed up). the page is php and the swf requires version 9 on the player. Also this is on a remote testing server. the proper site also uses the same swf file.

Final note: Interestingly if it stops working on the testing server site it also stops on the proper site - yet they are on different servers!

Can anyone shed any light on this, please?

12:01 pm on Jun 11, 2008 (gmt 0)

10+ Year Member



I think it may be solved, fingers crossed.

I probably had a dodgy swf file on the testing server and IE was getting confused by requesting the same file from different domains and using the corrupt one on both. Would it do that?

Anyway, working at the moment (awaits flood of moaning emails from client about site menu not working....)

Oh, BTW I couldn't stop IE from caching the swf.

7:22 am on Jun 12, 2008 (gmt 0)

5+ Year Member



I tend to delete History / temp Internet files whenever testing SWFs on pages, seems to be the only way to make sure IE displays the most recently uploaded version.