OutputCachePolicyBuilder.NoCache 方法

定义

清除策略并添加一个策略,以防止发生任何缓存逻辑。

public Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder NoCache ();
member this.NoCache : unit -> Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder
Public Function NoCache () As OutputCachePolicyBuilder

返回

注解

永远不会计算缓存密钥。

适用于