Many browsers use cache for quick file loading, but sometimes you want the most recent data to be available. To do this, we must clear the cache.
When loading a file, whether they are XML, SWF, or image files, we can use ?cache =new Date().getTime to clear the cache and ensure the most recent files are available.
Many browsers use cache for quick file loading, but sometimes you want the most recent data to be available. To do this, we must delete the cache.
When loading a file, whether they are XML, SWF, or image files, we can use ?cache =new Date().getTime to clear the cache.
For example:
var load:URLLoader = new URLLoader();
load.load(new URLRequest("data.xml" + "?cache=" + new Date().getTime()));
or
var load:Loader = new Loader();
load.load(new URLRequest("atf.jpg" + "?cache=" + new Date().getTime()));
Source from: http://activetofocus.com/blog/how-to-load-the-latest-xml-file-to-solve-the-cache-problem-18/
+