HttpResponse.CacheControl Property
.NET Framework 3.0
Sets the Cache-Control HTTP header to Public or Private.
Namespace: System.Web
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
The values for Private and Public are strings and must be enclosed in quotation marks (" ").
The CacheControl, Expires, and ExpiresAbsolute properties have been deprecated in favor of the methods of the HttpCachePolicy class available through the Cache intrinsic object to control the IIS output cache and client caches.
Community Additions
ADD
Show: