Bagikan melalui


OutputCacheApplicationBuilderExtensions.UseOutputCache Metode

Definisi

Menambahkan Microsoft.AspNetCore.OutputCaching.OutputCacheMiddleware untuk penembolokan respons 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

Parameter

Mengembalikan

Berlaku untuk