Avoid flashplayer caching, for now
authorAndy Allan <gravitystorm@gmail.com>
Mon, 23 Nov 2009 17:12:07 +0000 (17:12 +0000)
committerAndy Allan <gravitystorm@gmail.com>
Mon, 23 Nov 2009 17:12:07 +0000 (17:12 +0000)
net/systemeD/potlatch2/mapfeatures/MapFeatures.as
resources/potlatch2.html

index 9a699acc588f72b8e0935d05134896e7741509d4..e3a00a7180b0226335466fe9069cc580e7cc1fe2 100644 (file)
@@ -29,7 +29,7 @@ package net.systemeD.potlatch2.mapfeatures {
         private var _categories:Array = null;
 
         protected function loadFeatures():void {
-            var request:URLRequest = new URLRequest("map_features.xml");
+            var request:URLRequest = new URLRequest("map_features.xml?"+Math.random());
             var loader:URLLoader = new URLLoader();
             loader.addEventListener(Event.COMPLETE, onFeatureLoad);
             loader.load(request);
index e31770a96d1729f02b90bc418614080b3fb541e8..8cb1ad7d9cd0df0ad3ecdfc86932d06f72715350 100644 (file)
@@ -27,7 +27,7 @@
         fo.addVariable("oauth_consumer_key", "fiM1IoqnKJk4JCfcl63DA");
         fo.addVariable("oauth_consumer_secret", "7fYgJK9M4vB1CvBZ6jEsPGxYK9UD1hEnI6NqTxNGs");
         fo.addVariable("serverName", "api06 Test On Dev");
-       fo.addVariable("style","potlatch.css");
+       fo.addVariable("style","potlatch.css?d="+Math.round(Math.random()*1000));
        fo.write("map");