4 references to MaxAge
Microsoft.AspNetCore.HeaderParsing.Tests (1)
ParserTests.cs (1)
122Assert.Equal(TimeSpan.FromSeconds(604800), result.MaxAge);
Microsoft.AspNetCore.Server.HttpSys (2)
RequestProcessing\RequestContext.FeatureCollection.cs (2)
735else if (cacheControl.MaxAge.HasValue) 737return cacheControl.MaxAge;
Microsoft.Net.Http.Headers (1)
CacheControlHeaderValue.cs (1)
170/// Overrides <see cref="MaxAge">max-age</see>, but only for shared caches (such as proxies).