3 Replies Latest reply on Jul 3, 2007 2:40 PM by ntsiii

    URLLoader retaining cache, despite attempts to prevent it

      Arg. I can't get the URLLoader to stop caching data - it doesn't happen every time, but often enough to be frustrating. Manually clearing Firefox's cache fixes the problem, until Flex decides to cache the data again. Naturally, I'm using the latest version of Firefox.

      Here's the code:
      request.requestHeaders.push(new URLRequestHeader("pragma", "no-cache"));

      Where request, is, naturally, a URLRequest object which is subsequently passed to URLLoader.
      I took the code straight from the documentation @ http://livedocs.adobe.com/flex/2/langref/flash/net/URLRequestHeader.html

      Any suggestions? I'd just like to force the URLLoader to re-load the data each time.