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