Is it possible to ignore cache-control headers when executing a request / processing a response using AlamoFire?
Currently, I am making a request as follows, and the server returns large cache-control headers, when in fact we need to ignore them.
Alamofire.request(.GET, url).responseJSON { (_, _, result) in
I know that the correct solution is to change the server response, but this is currently not possible.
In addition, there are other requests in which I want to read the cache-control headers, so ideally I would make a decision that is not related to changing the global configuration of AlamoFire.
Steve source share