HttpCachePolicyElement.MaximumAge 속성

정의

캐시에서 반환된 리소스에 허용되는 최대 기간을 가져오거나 설정합니다.

public:
 property TimeSpan MaximumAge { TimeSpan get(); void set(TimeSpan value); };
[System.Configuration.ConfigurationProperty("maximumAge", DefaultValue="10675199.02:48:05.4775807")]
public TimeSpan MaximumAge { get; set; }
[<System.Configuration.ConfigurationProperty("maximumAge", DefaultValue="10675199.02:48:05.4775807")>]
member this.MaximumAge : TimeSpan with get, set
Public Property MaximumAge As TimeSpan

속성 값

TimeSpan 구성 파일에 지정된 캐시된 리소스의 최대 기간을 지정하는 값입니다.

특성

설명

캐시된 리소스 복사본이 지정된 시간 값보다 오래된 경우 캐시된 리소스를 서버의 리소스와 비교하여 리소스의 유효성을 다시 검사해야 합니다.

적용 대상