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