Share via


OutputCachePolicyBuilder.Cache Method

Definition

Enables caching for the current request if not already enabled.

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

Returns

Applies to