3 writes to CachedResponse
Microsoft.AspNetCore.OutputCaching (3)
OutputCacheContext.cs (1)
78CachedResponse = null;
OutputCacheMiddleware.cs (2)
260context.CachedResponse = cacheEntry; 405context.CachedResponse = cacheEntry;
10 references to CachedResponse
Microsoft.AspNetCore.OutputCaching (10)
OutputCacheContext.cs (1)
77var tmp = CachedResponse;
OutputCacheMiddleware.cs (9)
192return context.CachedResponse; 262var cacheEntryAge = context.ResponseTime.Value - context.CachedResponse.Created; 279var cachedResponse = context.CachedResponse; 310var body = context.CachedResponse.Body; 316await context.CachedResponse.CopyToAsync(response.BodyWriter, context.HttpContext.RequestAborted); 419&& context.CachedResponse is not null) 432context.CachedResponse.SetBody(cachedResponseBody, recycleBuffers: true); 442await OutputCacheEntryFormatter.StoreAsync(context.CacheKey, context.CachedResponse, context.Tags, context.CachedResponseValidFor, 518var cachedResponse = context.CachedResponse;