Sets the HTTP response cache expiration on seconds. Only applies to page content types.

[AttributeUsageAttribute(AttributeTargets.Class)]
public sealed class ResponseCacheAttribute: IContentTypeAttribute
Inheritance:
ObjectAttributeResponseCacheAttribute
Implements:
IContentTypeAttribute

Constructors

ResponseCacheAttribute(int)

Properties

ExpirationSeconds

Methods

Apply(ContentTypeDefinition)