Show / Hide Table of Contents

Class ResponseCacheLookupPolicy

Base policy for Response Cache lookup.

Inheritance
object
ResponseCacheLookupPolicy
SimpleLookupPolicy
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.ApigatewayService.Models
Assembly: OCI.DotNetSDK.Apigateway.dll
Syntax
[JsonConverter(typeof(ResponseCacheLookupPolicyModelConverter))]
public class ResponseCacheLookupPolicy

Properties

IsEnabled

Declaration
[JsonProperty(PropertyName = "isEnabled")]
public bool? IsEnabled { get; set; }
Property Value
Type Description
bool?

Whether this policy is currently enabled.

IsPrivateCachingEnabled

Declaration
[JsonProperty(PropertyName = "isPrivateCachingEnabled")]
public bool? IsPrivateCachingEnabled { get; set; }
Property Value
Type Description
bool?

Set true to allow caching responses where the request has an Authorization header. Ensure you have configured your cache key additions to get the level of isolation across authenticated requests that you require.
When false, any request with an Authorization header will not be stored in the Response Cache.
If using the CustomAuthenticationPolicy then the tokenHeader/tokenQueryParam are also subject to this check.

In this article
Back to top