Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace ResponseCacheLookupPolicy

Base policy for Response Cache lookup.

Properties

Optional isEnabled

isEnabled: undefined | false | true

Whether this policy is currently enabled.

Optional isPrivateCachingEnabled

isPrivateCachingEnabled: undefined | false | true

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.

type

type: string

Functions

getDeserializedJsonObj

getJsonObj