Flex is at the mercy of the browser when it comes to things like HTTP request caching.
-----Original Message----- From: David Pariente <xxmapach...@yahoo.es> Reply-to: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] how to avoid cacheing XML Date: Fri, 17 Apr 2009 22:46:39 +0700 Thnx, I was wondering if there was a not so ugly technic for do that...reminds me my old times with AS...seems nothing changed...wonder why there is a tool for do so in AIR while there is not in FLEX.... En/na Maciek Sakrejda ha escrit: > > > The foolproof (albeit ugly) way of doing this is to append a dummy > variable, e.g., the current time, to your request: > > http://localhost/myapp/my.xml?time=128478334 > <http://localhost/myapp/my.xml?time=128478334> > > You can do this by adding a Date().getTime() parameter to your > URLVariables. > -- > Maciek Sakrejda > Truviso, Inc. > http://www.truviso.com <http://www.truviso.com> > > -----Original Message----- > From: David Pariente <xxmapach...@yahoo.es > <mailto:xxmapachexx%40yahoo.es>> > Reply-to: flexcoders@yahoogroups.com <mailto:flexcoders% 40yahoogroups.com> > To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > Subject: [flexcoders] how to avoid cacheing XML > Date: Thu, 16 Apr 2009 22:16:14 +0700 > > Hi all, > > I have a Flex3 app where i load an XML using URLRequest object. > When i makechanges to the XML and upload it to the server, Flex still > loads the old cached XML file. > > I saw there are options for specify not to cache content, but, seems > they are only available to Air apps. > > How could i set it up for NEVER cache my XML file?? > > Thanx in advance :) > >