6 references to MaxAge
System (6)
net\System\Net\Cache\_Rfc2616CacheValidators.cs (6)
100
if (ctx.Policy.
MaxAge
!= TimeSpan.MaxValue) {
101
ctx.Request.Headers.AddInternal(HttpKnownHeaderNames.CacheControl, "max-age=" + (int)ctx.Policy.
MaxAge
.TotalSeconds);
273
if ( (ctx.ResponseAge > ctx.Policy.
MaxAge
) ||
891
if (ctx.Policy.
MaxAge
!= TimeSpan.MaxValue)
893
if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_policy_max_age, ((int)ctx.Policy.
MaxAge
.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo)));
894
if (ctx.CacheAge >= ctx.Policy.
MaxAge
) {return false;}