I'm using the AFNetworking framework for iOS.
- The cache is controlled by the HTTP response header?
- If yes, it is based on the headers 'Cache-Control' and 'Expires' for normal requests?
- If not, how caching works?
- You can customize the cache time and fixed it in 1 day, regardless of the HTTP response headers?
- If there is image cache, it is stored on disk or saved to memory?
- The cache requests work when the device has no internet connection?
- The user makes a request but the device showed no internet connection and the request was suspended. You can ignore the same requests when the device returns to its internet connection?
- The only way my application would work offline using database or can be based on the system cache of this framework?
- You can change the timeout of requests without having to customize a 'NSURLRequest'?