I am making calls to a WEB API using RESTSHARP and they work fine. However, the Initial call to the API (regardless of what call it is) can sometimes take up to 10 seconds to get a response. Every other call after that is really quick. Does anyone know a way around this?
I am running a WPF 4.0 application
code:
var client = new RestClient(apiAddress);
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);