5 writes to SMaxAge
System (5)
net\System\Net\Cache\HttpRequestCacheValidator.cs (5)
1027
control.
SMaxAge
= 0;
1029
control.
SMaxAge
= control.SMaxAge*10 + (sp[i++]-'0');
1135
control.
SMaxAge
= 0;
1137
control.
SMaxAge
= control.SMaxAge*10 + (sp[i++]-'0');
1288
MaxAge =
SMaxAge
= -1;
10 references to SMaxAge
System (10)
net\System\Net\Cache\_Rfc2616CacheValidators.cs (5)
131
if (ctx.CacheHeaders.Expires == null && (ctx.CacheEntry.IsPrivateEntry?ctx.CacheCacheControl.MaxAge == -1:ctx.CacheCacheControl.
SMaxAge
== -1)) {
565
if (!ctx.CacheEntry.IsPrivateEntry && ctx.CacheCacheControl.
SMaxAge
!= -1) {
566
ctx.CacheMaxAge = TimeSpan.FromSeconds(ctx.CacheCacheControl.
SMaxAge
);
799
if (ctx.ResponseCacheControl.
SMaxAge
!= -1 || ctx.ResponseCacheControl.MaxAge != -1) {
1024
if (!ctx.CacheEntry.IsPrivateEntry && ctx.CacheCacheControl.
SMaxAge
== -1 && !ctx.CacheCacheControl.MustRevalidate && !ctx.CacheCacheControl.Public) {
net\System\Net\Cache\HttpRequestCacheValidator.cs (5)
1029
control.SMaxAge = control.
SMaxAge
*10 + (sp[i++]-'0');
1137
control.SMaxAge = control.
SMaxAge
*10 + (sp[i++]-'0');
1293
return (Public || Private || NoCache || NoStore || MustRevalidate || ProxyRevalidate || MaxAge != -1 ||
SMaxAge
!= -1);
1335
if (
SMaxAge
!= -1) {
1336
sb.Append(" s-maxage=").Append(
SMaxAge
);