Partager via


ResponseCachingMiddleware Classe

Définition

Activez la mise en cache des réponses HTTP.

public ref class ResponseCachingMiddleware
public class ResponseCachingMiddleware
type ResponseCachingMiddleware = class
Public Class ResponseCachingMiddleware
Héritage
ResponseCachingMiddleware

Constructeurs

ResponseCachingMiddleware(RequestDelegate, IOptions<ResponseCachingOptions>, ILoggerFactory, IResponseCachingPolicyProvider, IResponseCache, IResponseCachingKeyProvider)

Activez la mise en cache des réponses HTTP.

ResponseCachingMiddleware(RequestDelegate, IOptions<ResponseCachingOptions>, ILoggerFactory, IResponseCachingPolicyProvider, IResponseCachingKeyProvider)

Activez la mise en cache des réponses HTTP.

ResponseCachingMiddleware(RequestDelegate, IOptions<ResponseCachingOptions>, ILoggerFactory, ObjectPoolProvider)

Crée un ResponseCachingMiddleware.

Méthodes

Invoke(HttpContext)

Appelle la logique du middleware.

S’applique à