Author: pmt029 | Posted on: 9/13/2010 12:04:00 PM | Views : 304

I'm not sure if this belongs here since it doesn't seem to be a coding issue but...
I am having an issue with using httpwebrequest - the first time I run HttpWebRequest on a page there is a 5-10 second lag before it returns the data I am looking for. It doesn't matter from what source I am polling the lag is always there so it has nothing to do with the sites I am connecting to.
After I poll the first time as long as the page is reloaded within 1 and a half minutes afterwards the httpwebrequest response is lightning fast.
If I wait a minute and a half to 2 minutes without reloading the page the lag returns again.
I've tried everything related to tweaking the httpwebrequest settings and none have had any impact whatsoever.

If it helps I have older pages that use classic asp that behave the exact same way when returning data from external websites so it seems to me like a server issue.
What I am left with is...
Could this ...

Go to the complete details ...