Flash player cache question

I’m currently testing an application that will eventually be deployed via touchscreen kiosk with a web connection.

I want to load an XML file from a server for an “events” application within the kiosk. Currently I am editing and testing an XML file which will hold the events content. In order to keep the xml content from caching and preventing me from seeing changes during testing, I am using the tip found a this url:


In my example, I am using AS3 and loading an XML file, so for me, it looks like this:

var myID:String = String(Math.round(Math.random()*10000));
var xmlString:URLRequest=new URLRequest("http://www.myurl.com/dev/events.xml?uniq="+myID);

It works great, but brings up some questions. First, does this mean that each time this app loads a new xml file, that one will be left in the cache causing the cache to grow in size infinitely?

If I don’t do the above trick, will my app ever display an updated version of the XML file?

Please keep in mind this is going to be a 24/7 stand alone kiosk which I intend to have periodically load a new xml file from a server. I’ll probably use Zinc to schedule a system restart every night.