1 Reply Latest reply on Jan 8, 2008 3:11 PM by Tigomark

    The mighty caching debate

      Is there a way to write an action script that will make sure that caching is set to zero.

      I handle caching in my php script

      header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
      header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // always modified
      header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1


      however the flash player seems to not respect the caching script and thus the information outputed does not update.
        • 1. Re: The mighty caching debate
          Tigomark Level 1
          Ok this whole thing goes to the fact that I never reset the list in
          the first place.

          So what I need to do is take the list


          private function resetForm():void{

          tempXML.asset = false; //clear it I could also us tempXML.asset =
          newXMLListCollection(tempXML.asset); either way it clears it
          tempXML.asset = tempXML.asset; //redisplay it


          This will definatley clear out the old list but now I need a way to
          recall the same list from the


          <mx:XML id="tempXML"

          and I'm not quite sure how to do this