title: How to disable caching from NSURLSessionTask
body: <p>In my iOS app, I am using <code>NSURLSessionTask</code> to download json data to my app. I discovered that when I call the url directly from the browser, I get an up to date json and when it's called from within the app, I get an older version of the json.</p>
  
  <p>Is this due to caching? How can I tell <code>NSURLSessionTask</code> to not use caching.</p>
  
  <p>This is the call I use:</p>
  
  <pre><code>NSURLSessionTask *task = [[NSURLSession sharedSession] dataTaskWithURL:url completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
  </code></pre>
  
  <p>Thanks!</p>