HttpCachePolicyBase Methods

HttpCachePolicyBase Methods

 

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

NameDescription
System_CAPS_pubmethodAddValidationCallback(HttpCacheValidateHandler, Object)

When overridden in a derived class, registers a validation callback for the current response.

System_CAPS_pubmethodAppendCacheExtension(String)

When overridden in a derived class, appends the specified text to the Cache-Control HTTP header.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodSetAllowResponseInBrowserHistory(Boolean)

When overridden in a derived class, makes the response available in the browser history cache, regardless of the HttpCacheability setting made on the server.

System_CAPS_pubmethodSetCacheability(HttpCacheability)

When overridden in a derived class, sets the Cache-Control header to the specified HttpCacheability value.

System_CAPS_pubmethodSetCacheability(HttpCacheability, String)

When overridden in a derived class, sets the Cache-Control header to the specified HttpCacheability value and appends an extension to the directive.

System_CAPS_pubmethodSetETag(String)

When overridden in a derived class, sets the ETag HTTP header to the specified string.

System_CAPS_pubmethodSetETagFromFileDependencies()

When overridden in a derived class, sets the ETag HTTP header based on the time stamps of the handler's file dependencies.

System_CAPS_pubmethodSetExpires(DateTime)

When overridden in a derived class, sets the Expires HTTP header to an absolute date and time.

System_CAPS_pubmethodSetLastModified(DateTime)

When overridden in a derived class, sets the Last-Modified HTTP header to the specified date and time.

System_CAPS_pubmethodSetLastModifiedFromFileDependencies()

When overridden in a derived class, sets the Last-Modified HTTP header based on the time stamps of the handler's file dependencies.

System_CAPS_pubmethodSetMaxAge(TimeSpan)

When overridden in a derived class, sets the Cache-Control: max-age HTTP header to the specified time span.

System_CAPS_pubmethodSetNoServerCaching()

When overridden in a derived class, stops all origin-server caching for the current response.

System_CAPS_pubmethodSetNoStore()

When overridden in a derived class, sets the Cache-Control: no-store HTTP header.

System_CAPS_pubmethodSetNoTransforms()

When overridden in a derived class, sets the Cache-Control: no-transform HTTP header.

System_CAPS_pubmethodSetOmitVaryStar(Boolean)

When overridden in a derived class, specifies whether the response contains the vary:* header when caching varies by parameters.

System_CAPS_pubmethodSetProxyMaxAge(TimeSpan)

When overridden in a derived class, sets the Cache-Control: s-maxage HTTP header to the specified time span.

System_CAPS_pubmethodSetRevalidation(HttpCacheRevalidation)

When overridden in a derived class, sets the Cache-Control HTTP header to either the must-revalidate or the proxy-revalidate directives, based on the specified enumeration value.

System_CAPS_pubmethodSetSlidingExpiration(Boolean)

When overridden in a derived class, sets cache expiration to absolute or sliding.

System_CAPS_pubmethodSetValidUntilExpires(Boolean)

When overridden in a derived class, specifies whether the ASP.NET cache should ignore HTTP Cache-Control headers that are sent by the client that invalidate the cache.

System_CAPS_pubmethodSetVaryByCustom(String)

When overridden in a derived class, specifies a text string to vary cached output responses by.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

Return to top
Show:
© 2016 Microsoft