Hi.
You may have seen the application I have created to retrieve the contents of a page that requires authentication (through a proxy):
http://www.thescripts.com/forum/thread665675-proxy.html
In my asp.net application I can use the OutputCache declarative to cache the requests for a specific time i.e. the browser will only go back and retrieve the contents of the required page every 20 seconds. If a refresh is performed before that interval then the page is retrieved from the browsers cache.
So far I am accomplished this in the windows form version by starting a timer when the user requests the page. If they request the page again and the timer is still enabled (running) then the request is not sent.
However, my application is used for a number of different pages (a button in the menu bar representing each one).
Ideally what I would like to do is cache the contents of any page retrieved. If a timer was still running I could retrieve the html from cache, if not then I would resend the httpwebrequest.
Can anyone offer me any pointers?