Export (0) Print
Expand All

HttpCachePolicy Methods

(see also Protected Methods )
  Name Description
Public method AddValidationCallback Registers a validation callback for the current response.
Public method AppendCacheExtension Appends the specified text to the Cache-Control HTTP header.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method 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.
Public method SetCacheability Overloaded. Sets the Cache-Control HTTP header. The Cache-Control HTTP header controls how documents are to be cached on the network.
Public method SetETag Sets the ETag HTTP header to the specified string.
Public method SetETagFromFileDependencies Sets the ETag HTTP header based on the time stamps of the handler's file dependencies.
Public method SetExpires Sets the Expires HTTP header to an absolute date and time.
Public method SetLastModified Sets the Last-Modified HTTP header to the DateTime value supplied.
Public method SetLastModifiedFromFileDependencies Sets the Last-Modified HTTP header based on the time stamps of the handler's file dependencies.
Public method SetMaxAge Sets the Cache-Control: max-age HTTP header based on the specified time span.
Public method SetNoServerCaching Stops all origin-server caching for the current response.
Public method SetNoStore Sets the Cache-Control: no-store HTTP header.
Public method SetNoTransforms Sets the Cache-Control: no-transform HTTP header.
Public method SetOmitVaryStar Specifies whether the response should contain the vary:* header when varying by parameters.
Public method SetProxyMaxAge Sets the Cache-Control: s-maxage HTTP header based on the specified time span.
Public method SetRevalidation Sets the Cache-Control HTTP header to either the must-revalidate or the proxy-revalidate directives based on the supplied enumeration value.
Public method SetSlidingExpiration Sets cache expiration to from absolute to sliding.
Public method SetValidUntilExpires Specifies whether the ASP.NET cache should ignore HTTP Cache-Control headers sent by the client that invalidate the cache.
Public method SetVaryByCustom Specifies a custom text string to vary cached output responses by.
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Top

  Name Description
Protected method 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)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top

Community Additions

ADD
Show:
© 2014 Microsoft