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

You can do this by adding a Date().getTime() parameter to your
URLVariables.
-- 
Maciek Sakrejda
Truviso, Inc.
http://www.truviso.com

-----Original Message-----
From: David Pariente <[email protected]>
Reply-to: [email protected]
To: [email protected]
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 :)







Reply via email to