Upvote:2

Aprove answer
NSURLRequest *request = [[NSURLRequest alloc] initWithURL:[NSURL URLWithString:timetable_URL]
                          cachePolicy: NSURLRequestReloadIgnoringLocalCacheData
                        timeoutInterval:30.0];
NSData *response = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];

Upvote:1

- (NSCachedURLResponse *)connection:(NSURLConnection *)connection willCacheResponse:(NSCachedURLResponse *)cachedResponse
{
   return nil;
}

Credit Goes to: stackoverflow.com

Related question with same questions but different answers