System.Net.Cache Namespace
The System.Net.Cache namespace defines the types and enumerations used to define cache policies for resources obtained using the WebRequest and HttpWebRequest classes.
| Class | Description | |
|---|---|---|
![]() | HttpRequestCachePolicy | Defines an application's caching requirements for resources obtained by using HttpWebRequest objects. |
![]() | RequestCachePolicy | Defines an application's caching requirements for resources obtained by using WebRequest objects. |
| Enumeration | Description | |
|---|---|---|
![]() | HttpCacheAgeControl | Specifies the meaning of time values that control caching behavior for resources obtained using HttpWebRequest objects. |
![]() | HttpRequestCacheLevel | Specifies caching behavior for resources obtained using the Hypertext Transfer protocol (HTTP). |
![]() | RequestCacheLevel | Specifies caching behavior for resources obtained using WebRequest and its derived classes. |

