ResponseCachingExtensions.UseResponseCaching(IApplicationBuilder) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
ResponseCachingMiddleware添加 用于缓存 HTTP 响应的 。
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseResponseCaching(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseResponseCaching (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
static member UseResponseCaching : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseResponseCaching (app As IApplicationBuilder) As IApplicationBuilder