OutputCachePolicyBuilder.NoCache Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Clears the policies and adds one preventing any caching logic to happen.
public Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder NoCache ();
member this.NoCache : unit -> Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder
Public Function NoCache () As OutputCachePolicyBuilder
Returns
Remarks
The cache key will never be computed.