Sets the HTTP response cache expiration on seconds. Only applies to page content types.
[AttributeUsage]
public sealed class ResponseCacheAttribute: IContentTypeAttribute
- Inheritance:
- ObjectAttributeResponseCacheAttribute
- Implements:
- IContentTypeAttribute
Constructors
| ResponseCacheAttribute(int) |
Properties
| ExpirationSeconds |
Methods
| Apply(ContentTypeDefinition) |