The only reliable, cross platform/browser solution I have seen is to append a unique string to the swf url. Modify the index.template like this:
AC_FL_RunContent( "src", "${swf}?nocache="+(new Date()).getTime(), It does make that app slow to load every time. Tracy Spratt, Lariat Services, development services available _____ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of anuj181 Sent: Tuesday, March 17, 2009 7:32 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to clear cache for all major browsers (IE, Mozilla, Safari and Chrome) Hi Guys Anyone has any idea which is the best way to clear the cache for my web application (which is made in Flex and PHP), For some reason it keeps on pulling old entries from cache and is confusing user and me with the inconsistent results, I guess that it is pulling values from the cache as everything works fine when I manually clear the cache.I did little research and tried following tags in the index.template.html but somehow it is not working efficiently , Whats the best way to clear the cache for all the major browsers (IE, Mozilla, Safari and Chrome) for my web application? Anyone has any idea? Thanks in advance for your help, <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Pragma" content="no-cache" /> <meta http-equiv="Expires" content="-1" /> </head>