.NET Framework Bookmark and Share   
 index > Network Class Library (System.Net) > Which cache is used by HttpWebRequest?
 

Which cache is used by HttpWebRequest?

I don't have a specific problem that needs fixing; I just want to understand how something works.

The HttpWebRequest class permits its caching behavior to be modified, but the documentation refers repeatedly to "the cache" without explaining which cache it's talking about. Does HttpWebRequest use the same cache on the local computer that Internet Explorer uses? If so, is the caching behavior affected at all by the presence of other browsers on the machine, or by the user disabling Internet Explorer?
tcap479
HttpWebRequest does use the IE cache. Even if you disable IE, it will still store the downloaded data in the same cache that IE uses.

It is not affected by other browsers on the machine.
feroze
--
My blog
Feroze Daud
HttpWebRequest does use the IE cache. Even if you disable IE, it will still store the downloaded data in the same cache that IE uses.

It is not affected by other browsers on the machine.
feroze
--
My blog
Feroze Daud
Thank you, Feroze.
tcap479

You can use google to search for other answers

Custom Search

More Threads

• Synchronize calls to WebRequest.Create() or not?
• HttpWebRequest WebHeaders & Properties
• Sending email via Exchange from web app
• IPAddress.Parse question.
• Socket issues - udp
• Ping in Thread (C#)
• Originate mail from an external dll
• WebClient FTP download with credentials
• An established connection was aborted by the software in your host machine
• Possible Get Response Stream truncation