6 references to OutputCacheMiddleware
Microsoft.AspNetCore.OutputCaching (6)
OutputCacheApplicationBuilderExtensions.cs (1)
21
return app.UseMiddleware<
OutputCacheMiddleware
>();
OutputCacheMiddleware.cs (3)
32
/// Creates a new <see cref="
OutputCacheMiddleware
"/>.
75
_logger = loggerFactory.CreateLogger<
OutputCacheMiddleware
>();
487
throw new InvalidOperationException($"Another instance of {nameof(OutputCacheFeature)} already exists. Only one instance of {nameof(
OutputCacheMiddleware
)} can be configured for an application.");
OutputCacheOptions.cs (2)
7
/// Options for configuring the <see cref="
OutputCacheMiddleware
"/>.
20
/// If the response body exceeds this limit, it will not be cached by the <see cref="
OutputCacheMiddleware
"/>.