title: NSCachedURLResponse willCacheResponse does not get called
body: <p>We have set up a simple NSURLConnection and NSURLCache as per the abbreviated code snippet below. We have made sure, that the server (localhost:9615) returns the following caching headers:</p>
  
  <pre><code>ETag : abcdefgh
  Cache-Control : public, max-age=60
  </code></pre>
  
  <p>However, the willCacheResponse delegate method is never called. Any idea?</p>
  
  <p>Code:</p>
  
  <pre><code>// In the app delegate
  NSURLCache *URLCache = [[NSURLCache alloc] initWithMemoryCapacity:4 * 1024 * 1024 diskCapacity:20 * 1024 * 1024 diskPath:nil];
  [NSURLCache setSharedURLCache:URLCache];
  
  // Triggered by a UIButton
  - (IBAction)sendRequest:(UIButton *)sender {
      NSLog(@"sendRequest");
      NSURLRequest *theRequest=[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://localhost:9615"] cachePolicy:NSURLRequestReturnCacheDataElseLoad timeoutInterval:60.0];
      NSMutableData *receivedData = [NSMutableData dataWithCapacity: 0];
      NSURLConnection *theConnection=[[NSURLConnection alloc] initWithRequest:theRequest delegate:self];
      if (!theConnection) {
          receivedData = nil;
      }
  }
  
  - (NSCachedURLResponse *)connection:(NSURLConnection *)connection willCacheResponse:(NSCachedURLResponse *)cachedResponse
  {
      NSLog(@"willCacheResponse");
      // ...
  }
  </code></pre>