HttpCachePolicyWrapper Methods
Assembly: System.Web (in System.Web.dll)
| Name | Description | |
|---|---|---|
![]() | AddValidationCallback(HttpCacheValidateHandler, Object) | Registers a validation callback for the current response.(Overrides HttpCachePolicyBase.AddValidationCallback(HttpCacheValidateHandler, Object).) |
![]() | AppendCacheExtension(String) | Appends the specified text to the Cache-Control HTTP header.(Overrides HttpCachePolicyBase.AppendCacheExtension(String).) |
![]() | Equals(Object) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | SetAllowResponseInBrowserHistory(Boolean) | Makes the response available in the browser history cache, regardless of the HttpCacheability setting made on the server.(Overrides HttpCachePolicyBase.SetAllowResponseInBrowserHistory(Boolean).) |
![]() | SetCacheability(HttpCacheability) | Sets the Cache-Control header to the specified HttpCacheability value.(Overrides HttpCachePolicyBase.SetCacheability(HttpCacheability).) |
![]() | SetCacheability(HttpCacheability, String) | Sets the Cache-Control header to the specified HttpCacheability value and appends an extension to the directive.(Overrides HttpCachePolicyBase.SetCacheability(HttpCacheability, String).) |
![]() | SetETag(String) | Sets the ETag HTTP header to the specified string.(Overrides HttpCachePolicyBase.SetETag(String).) |
![]() | SetETagFromFileDependencies() | Sets the ETag HTTP header based on the time stamps of the handler's file dependencies.(Overrides HttpCachePolicyBase.SetETagFromFileDependencies().) |
![]() | SetExpires(DateTime) | Sets the Expires HTTP header to an absolute date and time.(Overrides HttpCachePolicyBase.SetExpires(DateTime).) |
![]() | SetLastModified(DateTime) | Sets the Last-Modified HTTP header to the specified date and time.(Overrides HttpCachePolicyBase.SetLastModified(DateTime).) |
![]() | SetLastModifiedFromFileDependencies() | Sets the Last-Modified HTTP header based on the time stamps of the handler's file dependencies.(Overrides HttpCachePolicyBase.SetLastModifiedFromFileDependencies().) |
![]() | SetMaxAge(TimeSpan) | Sets the Cache-Control: max-age HTTP header to the specified time span.(Overrides HttpCachePolicyBase.SetMaxAge(TimeSpan).) |
![]() | SetNoServerCaching() | Stops all origin-server caching for the current response.(Overrides HttpCachePolicyBase.SetNoServerCaching().) |
![]() | SetNoStore() | Sets the Cache-Control: no-store HTTP header.(Overrides HttpCachePolicyBase.SetNoStore().) |
![]() | SetNoTransforms() | Sets the Cache-Control: no-transform HTTP header.(Overrides HttpCachePolicyBase.SetNoTransforms().) |
![]() | SetOmitVaryStar(Boolean) | Specifies whether the response contains the vary:* header when varying by parameters.(Overrides HttpCachePolicyBase.SetOmitVaryStar(Boolean).) |
![]() | SetProxyMaxAge(TimeSpan) | Sets the Cache-Control: s-maxage HTTP header to the specified time span.(Overrides HttpCachePolicyBase.SetProxyMaxAge(TimeSpan).) |
![]() | SetRevalidation(HttpCacheRevalidation) | Sets the Cache-Control HTTP header to either the must-revalidate or the proxy-revalidate directives, based on the specified enumeration value.(Overrides HttpCachePolicyBase.SetRevalidation(HttpCacheRevalidation).) |
![]() | SetSlidingExpiration(Boolean) | Sets cache expiration to absolute or sliding.(Overrides HttpCachePolicyBase.SetSlidingExpiration(Boolean).) |
![]() | SetValidUntilExpires(Boolean) | Specifies whether the ASP.NET cache should ignore HTTP Cache-Control headers sent by the client that invalidate the cache.(Overrides HttpCachePolicyBase.SetValidUntilExpires(Boolean).) |
![]() | SetVaryByCustom(String) | Specifies a text string to vary cached output responses by.(Overrides HttpCachePolicyBase.SetVaryByCustom(String).) |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |

