4 references to OnlyIfCachedString
Microsoft.AspNetCore.OutputCaching (1)
OutputCacheMiddleware.cs (1)
364if (HeaderUtilities.ContainsCacheDirective(cacheContext.HttpContext.Request.Headers.CacheControl, CacheControlHeaderValue.OnlyIfCachedString))
Microsoft.AspNetCore.ResponseCaching (1)
ResponseCachingMiddleware.cs (1)
230if (HeaderUtilities.ContainsCacheDirective(context.HttpContext.Request.Headers.CacheControl, CacheControlHeaderValue.OnlyIfCachedString))
Microsoft.Net.Http.Headers (2)
CacheControlHeaderValue.cs (2)
335AppendValueIfRequired(sb, _onlyIfCached, OnlyIfCachedString); 652if (StringSegment.Equals(OnlyIfCachedString, name, StringComparison.OrdinalIgnoreCase))