Share via


OutputCacheContext Class

Definition

Represent the current cache context for the request.

public sealed class OutputCacheContext
type OutputCacheContext = class
Public NotInheritable Class OutputCacheContext
Inheritance
OutputCacheContext

Constructors

OutputCacheContext()
Obsolete.

Constructs a new instance of OutputCacheContext.

Properties

AllowCacheLookup

Determines whether a cache lookup is allowed for the incoming HTTP request.

AllowCacheStorage

Determines whether storage of the response is allowed for the incoming HTTP request.

AllowLocking

Determines whether the request should be locked.

CacheVaryByRules

Gets the CacheVaryByRules instance.

EnableOutputCaching

Determines whether the output caching logic should be configured for the incoming HTTP request.

HttpContext

Gets the HttpContext.

ResponseExpirationTimeSpan

Gets or sets the amount of time the response should be cached for.

ResponseTime

Gets or sets the response time.

Tags

Gets the tags of the cached response.

Applies to