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);
秒表表示DownloadString
方法在第一次调用时需要 13-15 秒,但重复调用需要相当长的时间。这是怎么发生的,我该如何解决?