OutputCacheApplicationBuilderExtensions.UseOutputCache Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds the Microsoft.AspNetCore.OutputCaching.OutputCacheMiddleware for caching HTTP responses.
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseOutputCache (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
static member UseOutputCache : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseOutputCache (app As IApplicationBuilder) As IApplicationBuilder
Parameters
The IApplicationBuilder.