OutputCacheAttribute.Duration Property

Definition

Gets or sets the duration in seconds for which the response is cached.

public int Duration { get; init; }
member this.Duration : int with get, set
Public Property Duration As Integer

Property Value

Applies to