I noticed that inside my iOS application there is a file called "cache.db" that contains all the requested URLs , such as "http: // mywebsite. Com / api / find.php? Id = DEVICE_ID & secret = MY_SECRET".
I use AFNetworking for all http and https requests, and I believe that I have not set any caching policies for it. How to remove or stop an application from caching requested URLs? I don't want my users (those who have root access to their phones / jailbroken devices) to see these URLs.
Meanwhile, here is an example of my request for receiving
-(void){
AFHTTPRequestOperationManager *manager = [self getHTTPRequestOperationManager];
[manager GET:_path parameters:[self getRequestParams] success:[self getOperationSuccessBlock]
failure:[self getOperationFailureBlock]];
}
- (AFHTTPRequestOperationManager *)getHTTPRequestOperationManager {
self.operationManager = [APlacesProviderRequest manager:_basePath];
return self.operationManager;
}