OutputCacheApplicationBuilderExtensions.UseOutputCache Metoda

Definice

Přidá Microsoft.AspNetCore.OutputCaching.OutputCacheMiddleware pro ukládání odpovědí HTTP do mezipaměti.

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

Parametry

Návraty

Platí pro