title: NSURLRequest odd behaivor
body: <p>I'm having such an odd problem.  I'm running iOS 4.3.2 on my device.  Compiling in Xcode 4 but I am not using the iOS 5 beta SDK.</p>
  
  <p>My app fetches a plist file from a server, the plist file is set of strings I use in my app.</p>
  
  <p>I get the data via a request and connection like so</p>
  
  <pre><code>    NSURLRequest *req = [[NSURLRequest alloc] initWithURL:[NSURL URLWithString:pathAndFile]
                                          cachePolicy:NSURLRequestReloadIgnoringCacheData timeoutInterval:60.0];
  NSURLConnection *con =[[NSURLConnection alloc] initWithRequest:req 
                                                        delegate:self];
  </code></pre>
  
  <p>When running on wifi - if I go up and make a change on the server side, the app will see the new data and use it each time the app is launched.</p>
  
  <p>If I switch my phone over to 3G it goes and grabs the data correctly the FIRST TIME.  If I then go back and change the file on the server, and rerun the app - it is only loading the OLD data, not the new data.  The app IS hitting the code where the connection is established and loaded. </p>
  
  <p>Ok, so now I'm in this state where the app is using old data.  I switch the phone to wifi and BAM, the new data is there.  </p>
  
  <p>But if I now close the app.  Turn off wifi.  Launch the app, the app is using the OLD DATA again.</p>
  
  <p>I did implement </p>
  
  <pre><code>- (NSCachedURLResponse *)connection:(NSURLConnection *)connection willCacheResponse:(NSCachedURLResponse *)cachedResponse {
  return nil;
  </code></pre>
  
  <p>}</p>
  
  <p>as suggested in another stackoverflow thread.  Anybody have any thoughts why this could be happening and how I could make it work correctly?</p>