OutputCacheUtility 类

定义

提供用于配置输出缓存的 Helper 方法。

C#
public static class OutputCacheUtility
继承
OutputCacheUtility

方法

CreateCacheDependency(HttpResponse)

创建响应的缓存依赖项。

FlushKernelCache(String)

刷新特定的统一资源标识符 (URI) 的内核缓存。

GetContentBuffers(HttpResponse)

获取响应内容缓冲区。

GetValidationCallbacks(HttpResponse)

获取缓存策略验证回调信息。

SetContentBuffers(HttpResponse, ArrayList)

设置内容缓冲区。

SetupKernelCaching(String, HttpResponse)

获取内核缓存键。

适用于

产品 版本
.NET Framework 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1