I developed a flex website, the web explorer always caches swf file which embedded in HTML. Sometimes I make changes to the flex file, clients computer still view the previous version which stored in cache.
How can I force client’s web explorer to reload/refresh the swf file?
Thanks
You can add a version number to the URL of the swf file, kind of like this:
When you have a new changed swf file, you also change the version number in the URL, so the next time it will be my.swf?version=3 and so on.
It doesn’t need to be a version number, the idea is simply that since the URL to the swf is new, the browser wont use a cached file.