Partager via


OutputCacheApplicationBuilderExtensions.UseOutputCache Méthode

Définition

Ajoute la Microsoft.AspNetCore.OutputCaching.OutputCacheMiddleware pour mettre en cache les réponses 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

Paramètres

Retours

S’applique à