HttpCachePolicy Methods

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

NameDescription
System_CAPS_pubmethodAddValidationCallback(HttpCacheValidateHandler, Object)

Registers a validation callback for the current response.

System_CAPS_pubmethodAppendCacheExtension(String)

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_pubmethodGetCacheability()

Gets the cache-control directive.

System_CAPS_pubmethodGetCacheExtensions()

Gets the cache extensions.

System_CAPS_pubmethodGetETag()

Gets the ETag.

System_CAPS_pubmethodGetETagFromFileDependencies()

Gets the status indicating whether the ETag header has been set based on the timestamps of the file dependencies of the handler.

System_CAPS_pubmethodGetExpires()

Gets the expire header.

System_CAPS_pubmethodGetHashCode()

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

System_CAPS_pubmethodGetIgnoreRangeRequests()

Gets the status of ignore range requests.

System_CAPS_pubmethodGetLastModifiedFromFileDependencies()

Gets the status of the Last-Modified headerset to base on the timestamps of the file dependencies of the handler.

System_CAPS_pubmethodGetMaxAge()

Gets the cache-control max age.

System_CAPS_pubmethodGetNoServerCaching()

Gets the status of server caching for the current response.

System_CAPS_pubmethodGetNoStore()

Gets the status of the store.

System_CAPS_pubmethodGetNoTransforms()

Gets the status of the HTTP No-Transform Directive.

System_CAPS_pubmethodGetOmitVaryStar()

Gets the status of the vary:* header.

System_CAPS_pubmethodGetProxyMaxAge()

Gets the HTTP Cache-Control: Proxy Max Age.

System_CAPS_pubmethodGetRevalidation()

Gets the Cache-Control: header to reflect either the must-revalidate or proxy-revalidate directives.

System_CAPS_pubmethodGetType()

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

System_CAPS_pubmethodGetUtcLastModified()

Gets the value of the Last-Modified HTTP header in Coordinated Universal Time (UTC).

System_CAPS_pubmethodGetVaryByCustom()

Gets the custom string that is used to vary the HTTP caching.

System_CAPS_pubmethodHasSlidingExpiration()

Gets a value which specifies whether the cache has a sliding expiration policy.

System_CAPS_pubmethodIsModified()

Gets a value which specifies whether the HTTP cache has been modified.

System_CAPS_pubmethodIsValidUntilExpires()

Gets a value which specifies whether the ASP.NET cache should ignore HTTP Cache-Control headers sent by the client that invalidate the cache.

System_CAPS_pubmethodSetAllowResponseInBrowserHistory(Boolean)

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.

System_CAPS_pubmethodSetCacheability(HttpCacheability)

Sets the Cache-Control header to one of the values of HttpCacheability.

System_CAPS_pubmethodSetCacheability(HttpCacheability, String)

Sets the Cache-Control header to one of the values of HttpCacheability and appends an extension to the directive.

System_CAPS_pubmethodSetETag(String)

Sets the ETag HTTP header to the specified string.

System_CAPS_pubmethodSetETagFromFileDependencies()

Sets the ETag HTTP header based on the time stamps of the handler's file dependencies.

System_CAPS_pubmethodSetExpires(DateTime)

Sets the Expires HTTP header to an absolute date and time.

System_CAPS_pubmethodSetLastModified(DateTime)

Sets the Last-Modified HTTP header to the DateTime value supplied.

System_CAPS_pubmethodSetLastModifiedFromFileDependencies()

Sets the Last-Modified HTTP header based on the time stamps of the handler's file dependencies.

System_CAPS_pubmethodSetMaxAge(TimeSpan)

Sets the Cache-Control: max-age HTTP header based on the specified time span.

System_CAPS_pubmethodSetNoServerCaching()

Stops all origin-server caching for the current response.

System_CAPS_pubmethodSetNoStore()

Sets the Cache-Control: no-store HTTP header.

System_CAPS_pubmethodSetNoTransforms()

Sets the Cache-Control: no-transform HTTP header.

System_CAPS_pubmethodSetOmitVaryStar(Boolean)

Specifies whether the response should contain the vary:* header when varying by parameters.

System_CAPS_pubmethodSetProxyMaxAge(TimeSpan)

Sets the Cache-Control: s-maxage HTTP header based on the specified time span.

System_CAPS_pubmethodSetRevalidation(HttpCacheRevalidation)

Sets the Cache-Control HTTP header to either the must-revalidate or the proxy-revalidate directives based on the supplied enumeration value.

System_CAPS_pubmethodSetSlidingExpiration(Boolean)

Sets cache expiration to from absolute to sliding.

System_CAPS_pubmethodSetValidUntilExpires(Boolean)

Specifies whether the ASP.NET cache should ignore HTTP Cache-Control headers sent by the client that invalidate the cache.

System_CAPS_pubmethodSetVaryByCustom(String)

Specifies a custom 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: