Force SWF files to refresh with page, not load from cache
Posted on 2006-04-21
I'm working on a Flash portfolio that dynamically loads JPGs from a folder. Users can upload new files to the folder. Only problem is that (using IE) if you go back to the player page after uploading, it displays the previously cached SWF and you don't see the newly uploaded images. I'd like to force the page to re-upload the revised SWF.
Looking through EE, Macromedia support and MS support, I've seen several claims that adding these to the header will solve the problem:
<META HTTP-EQUIV="Expires" CONTENT="Mon, 04 Dec 1999 21:29:02 GMT"> (any old date)
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
<META HTTP-EQUIV="Expires" CONTENT="-1">
Of course, I'm posting to EE in a panic because these lines are apparently NOT preventing IE from displaying the cached SWF and I'm under the gun to get this fixed.
The slideshow is on a plain ol' HTML page, not dynamic.
I'm "just a designer," not a programmer, and not very advanced when it comes to ActionScript. Can someone provide a *simple* fix? This must come up all the time, but I haven't found a simple solution that works yet...