2 writes to CachedVaryByRules
Microsoft.AspNetCore.ResponseCaching (2)
ResponseCachingMiddleware.cs (2)
212
context.
CachedVaryByRules
= cachedVaryByRules;
281
context.
CachedVaryByRules
= new CachedVaryByRules
5 references to CachedVaryByRules
Microsoft.AspNetCore.ResponseCaching (5)
ResponseCachingKeyProvider.cs (1)
79
var varyByRules = context.
CachedVaryByRules
;
ResponseCachingMiddleware.cs (4)
277
if (context.
CachedVaryByRules
== null ||
278
!StringValues.Equals(context.
CachedVaryByRules
.QueryKeys, normalizedVaryQueryKeys) ||
279
!StringValues.Equals(context.
CachedVaryByRules
.Headers, normalizedVaryHeaders))
331
_cache.Set(context.BaseKey, context.
CachedVaryByRules
, context.CachedResponseValidFor);