6 references to MaxAgeString
Microsoft.AspNetCore.ResponseCaching (3)
ResponseCachingContext.cs (1)
125
HeaderUtilities.TryParseSeconds(HttpContext.Response.Headers.CacheControl, CacheControlHeaderValue.
MaxAgeString
, out _responseMaxAge);
ResponseCachingPolicyProvider.cs (2)
192
HeaderUtilities.TryParseSeconds(requestCacheControlHeaders, CacheControlHeaderValue.
MaxAgeString
, out requestMaxAge);
195
HeaderUtilities.TryParseSeconds(cachedCacheControlHeaders, CacheControlHeaderValue.
MaxAgeString
, out cachedMaxAge);
Microsoft.AspNetCore.ResponseCaching.Microbenchmarks (1)
ResponseCachingBenchmark.cs (1)
18
private static readonly string _cacheControl = $"{CacheControlHeaderValue.PublicString}, {CacheControlHeaderValue.
MaxAgeString
}={int.MaxValue}";
Microsoft.Net.Http.Headers (2)
CacheControlHeaderValue.cs (2)
353
AppendValueWithSeparatorIfRequired(sb,
MaxAgeString
);
588
if (StringSegment.Equals(
MaxAgeString
, name, StringComparison.OrdinalIgnoreCase))