J
JezB
I do some peeking at files on the web in my program with code such as:
WebRequest wr = WebRequest.Create(url);
WebResponse r = wr.GetResponse();
I've noticed that the first time GetResponse is executed, it takes some 3 to
4 seconds. Repeating the same code in the same run is almost immediate. So
why the delay the first time this is executed on each run? And can I do
anything about it?
WebRequest wr = WebRequest.Create(url);
WebResponse r = wr.GetResponse();
I've noticed that the first time GetResponse is executed, it takes some 3 to
4 seconds. Repeating the same code in the same run is almost immediate. So
why the delay the first time this is executed on each run? And can I do
anything about it?