NSURLCache doesn't cache
问题 I'm using Xcode 6.1 (6A1030), both iOS7 & iOS8 Simulators. NSURLCache does not seem to cache anything. I use the "Cache-Control" header. My server returns the Cache-Control header with 'max-age=6000'. In this example, I tamper a request from Google, which is also not cached: AppDelegate: func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { var URLCache = NSURLCache(memoryCapacity: 500 * 1024 * 1024, diskCapacity: 500 *