Share via


OutputCacheApplicationBuilderExtensions.UseOutputCache Method

Definition

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

Returns

Applies to