Udostępnij za pośrednictwem


OutputCacheApplicationBuilderExtensions.UseOutputCache Metoda

Definicja

Dodaje Microsoft.AspNetCore.OutputCaching.OutputCacheMiddleware do buforowania odpowiedzi HTTP.

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

Zwraca

Dotyczy