5 writes to MaxAge
System (5)
net\System\Net\Cache\HttpRequestCacheValidator.cs (5)
1009
control.
MaxAge
= 0;
1011
control.
MaxAge
=control.MaxAge*10 + (sp[i++]-'0');
1119
control.
MaxAge
= 0;
1121
control.
MaxAge
=control.MaxAge*10 + (sp[i++]-'0');
1288
MaxAge
= SMaxAge = -1;
9 references to MaxAge
System (9)
net\System\Net\Cache\_Rfc2616CacheValidators.cs (4)
131
if (ctx.CacheHeaders.Expires == null && (ctx.CacheEntry.IsPrivateEntry?ctx.CacheCacheControl.
MaxAge
== -1:ctx.CacheCacheControl.SMaxAge == -1)) {
579
if (ctx.CacheCacheControl.
MaxAge
!= -1) {
580
ctx.CacheMaxAge = TimeSpan.FromSeconds(ctx.CacheCacheControl.
MaxAge
);
799
if (ctx.ResponseCacheControl.SMaxAge != -1 || ctx.ResponseCacheControl.
MaxAge
!= -1) {
net\System\Net\Cache\HttpRequestCacheValidator.cs (5)
1011
control.MaxAge =control.
MaxAge
*10 + (sp[i++]-'0');
1121
control.MaxAge =control.
MaxAge
*10 + (sp[i++]-'0');
1293
return (Public || Private || NoCache || NoStore || MustRevalidate || ProxyRevalidate ||
MaxAge
!= -1 || SMaxAge != -1);
1332
if (
MaxAge
!= -1) {
1333
sb.Append(" max-age=").Append(
MaxAge
);