string url = "http://google.com/index.html";
WebClient client = new WebClient();
Stopwatch sw = new Stopwatch();
sw.Start();
string text = client.DownloadString(url);
sw.Stop();
Console.WriteLine(sw.Elapsed);
Stopwatch says DownloadString
method takes 13-15 seconds when first called, but repeated calls take sensible amounts of time. How does this happen and how do I fix it?