I've used the random querystring solution as a workaround to the
caching issue. It can be something as simple as this,

var date:Date = new Date();
service.url = "http://myserver.com/whatever?dt="; + date.toTimeString(); 

-Alex

--- In flexcoders@yahoogroups.com, Guy Morton <[EMAIL PROTECTED]> wrote:
>
> Depends on the browser you're using. Clearing the cache is all you  
> should have to do, but depending on whether you are sitting behind a  
> web proxy even that might sometimes not be enough. In my experience,  
> web proxies are a frequent source of developer frustration (especially  
> MS proxies).
> 
> Sometimes putting a query string on the end of your request can help, eg
> 
> http://www.yoursite.com/myapp.swf?foo=bar
> 
> You can then randomise this which can help if you're behind a bad web  
> proxy.
> 
> In addition, if you have control over the server environment, you can  
> set the no-cache headers when serving your files. This should stop  
> your browser holding onto them (and ought to also stop web proxies  
> doing the same).
> 
> Guy
> 
> On 03/12/2008, at 10:21 AM, Adolfo Ruiz wrote:
> 
> >
> > When ever I compile a proj/application the SWF I saw didn't reflect  
> > any of the changes I'd made.
> >
> > I need to clear the cache, history, cookies in the browser.
> >
> > How to over come this.
> >
> >
> > ¡Todo sobre Amor y Sexo!
> > La guía completa para tu vida en Mujer de Hoy:
> > http://mx.mujer.yahoo.com/
> >
> >
>


Reply via email to