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によるとDownloadString
、メソッドは最初に呼び出されたときに13〜15秒かかりますが、繰り返し呼び出されるとかなりの時間がかかります。これはどのように発生し、どのように修正すればよいですか?