2 writes to CachedVaryByRules
Microsoft.AspNetCore.ResponseCaching (2)
ResponseCachingMiddleware.cs (2)
221
context.
CachedVaryByRules
= cachedVaryByRules;
308
context.
CachedVaryByRules
= new CachedVaryByRules
5 references to CachedVaryByRules
Microsoft.AspNetCore.ResponseCaching (5)
ResponseCachingKeyProvider.cs (1)
83
var varyByRules = context.
CachedVaryByRules
;
ResponseCachingMiddleware.cs (4)
304
if (context.
CachedVaryByRules
== null ||
305
!StringValues.Equals(context.
CachedVaryByRules
.QueryKeys, normalizedVaryQueryKeys) ||
306
!StringValues.Equals(context.
CachedVaryByRules
.Headers, normalizedVaryHeaders))
368
_cache.Set(context.BaseKey, context.
CachedVaryByRules
, context.CachedResponseValidFor);