7 writes to CacheMaxAge
System (7)
net\System\Net\Cache\_Rfc2616CacheValidators.cs (7)
566
ctx.
CacheMaxAge
= TimeSpan.FromSeconds(ctx.CacheCacheControl.SMaxAge);
580
ctx.
CacheMaxAge
= TimeSpan.FromSeconds(ctx.CacheCacheControl.MaxAge);
604
ctx.
CacheMaxAge
= expiresDate - date;
614
ctx.
CacheMaxAge
= expiresDate - DateTime.UtcNow;
643
} ctx.
CacheMaxAge
= ctx.UnspecifiedMaxAge;
648
ctx.
CacheMaxAge
= TimeSpan.FromSeconds(maxAgeSeconds);
657
ctx.
CacheMaxAge
= ctx.UnspecifiedMaxAge;
10 references to CacheMaxAge
System (10)
net\System\Net\Cache\_Rfc2616CacheValidators.cs (10)
567
if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_max_age_cache_s_max_age, ((int)ctx.
CacheMaxAge
.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo)));
568
if (ctx.CacheAge < ctx.
CacheMaxAge
) {
581
if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_max_age_cache_max_age, ((int)ctx.
CacheMaxAge
.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo)));
582
if (ctx.CacheAge < ctx.
CacheMaxAge
) {
606
if (ctx.CacheAge < ctx.
CacheMaxAge
) {
659
if (ctx.
CacheMaxAge
>= ctx.CacheAge) {
883
if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_age, (ctx.CacheAge != TimeSpan.MinValue ? ((int)ctx.CacheAge.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo) : SR.GetString(SR.net_log_unknown)), (ctx.
CacheMaxAge
!= TimeSpan.MinValue? ((int)ctx.
CacheMaxAge
.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo): SR.GetString(SR.net_log_unknown))));
888
if (ctx.CacheAge + ctx.Policy.MinFresh >= ctx.
CacheMaxAge
) {return false;}
905
TimeSpan adjustedMaxAge = ctx.
CacheMaxAge
;