OutputCacheContext Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |