Thx Tracy! I have a diff question relating to this caching issue. My app is composed with a main-swf, a library-swf, and several module-swfs.
To my understanding, this incrementing-build-version solution only applies to the main-swf. So that means the library-swf and module-swfs that I updated would be loaded from the browser-cache instead of from the server. Is my understanding correct? Thx! --- In flexcoders@yahoogroups.com, "Tracy Spratt" <tr...@...> wrote: > > Yes. Manually incrementing the version at each build will be more work for > you, but will be a better experience for your users. > > > > Tracy Spratt, > > Lariat Services, development services available > > _____ > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On > Behalf Of handitan > Sent: Monday, April 19, 2010 8:17 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: How to clear cache for all major browsers (IE, > Mozilla, Safari and Chrome) > > > > > > Hi Cato or anyone, > > Where do you put that change? > Is it on this part of index.template.html? > > else if (hasRequestedVersion) { > // if we've detected an acceptable version > // embed the Flash Content SWF when all tests are passed > AC_FL_RunContent( > "src", "${swf}?version=1.0", > "width", "${width}", > "height", "${height}", > > Thanks for the help! > > --- In flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com, > "Cato Paus" <cato1@> wrote: > > > > Or just do this > > > > "src", "${swf}?version=1.0", > > > > and increment it each time you crate a new build, I have filed a request > to adobe about this issue > > https://bugs. <https://bugs.adobe.com/jira/browse/FB-16764> > adobe.com/jira/browse/FB-16764 > > go and vote for it :) > > > > > > > > > > --- In flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com, > "Tracy Spratt" <tspratt@> wrote: > > > > > > 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: flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com > [mailto:flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com] > On > > > Behalf Of anuj181 > > > Sent: Tuesday, March 17, 2009 7:32 PM > > > To: flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.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> > > > > > >