HttpCachePolicy Methods
.NET Framework 2.0
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| AddValidationCallback | Registers a validation callback for the current response. |
| AppendCacheExtension | Appends the specified text to the Cache-Control HTTP header. |
| Equals | Overloaded. Determines whether two Object instances are equal. (Inherited from Object.) |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) |
| GetType | Gets the Type of the current instance. (Inherited from Object.) |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object.) |
| SetAllowResponseInBrowserHistory | Makes the response is available in the client browser History cache, regardless of the HttpCacheability setting made on the server, when the allow parameter is true. |
| SetCacheability | Overloaded. Sets the Cache-Control HTTP header. The Cache-Control HTTP header controls how documents are to be cached on the network. |
| SetETag | Sets the ETag HTTP header to the specified string. |
| SetETagFromFileDependencies | Sets the ETag HTTP header based on the time stamps of the handler's file dependencies. |
| SetExpires | Sets the Expires HTTP header to an absolute date and time. |
| SetLastModified | Sets the Last-Modified HTTP header to the DateTime value supplied. |
| SetLastModifiedFromFileDependencies | Sets the Last-Modified HTTP header based on the time stamps of the handler's file dependencies. |
| SetMaxAge | Sets the Cache-Control: max-age HTTP header based on the specified time span. |
| SetNoServerCaching | Stops all origin-server caching for the current response. |
| SetNoStore | Sets the Cache-Control: no-store HTTP header. |
| SetNoTransforms | Sets the Cache-Control: no-transform HTTP header. |
| SetOmitVaryStar | Specifies whether the response should contain the vary:* header when varying by parameters. |
| SetProxyMaxAge | Sets the Cache-Control: s-maxage HTTP header based on the specified time span. |
| SetRevalidation | Sets the Cache-Control HTTP header to either the must-revalidate or the proxy-revalidate directives based on the supplied enumeration value. |
| SetSlidingExpiration | Sets cache expiration to from absolute to sliding. |
| SetValidUntilExpires | Specifies whether the ASP.NET cache should ignore HTTP Cache-Control headers sent by the client that invalidate the cache. |
| SetVaryByCustom | Specifies a custom text string to vary cached output responses by. |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
Community Additions
ADD
Show: