Contents

Popular

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Expand
titleContents

Table of Contents
indent15px
stylenone

The policy Response Cache policy allows a user to reduce the number of calls made to the target server. The Cache Key identifies the part of the message whose value is checked against the cache and the response is returned message by verifying the value with the cache, thereby returning a response from the target server only if it the message is not present in the local cache.

For example, a query parameter id ID can be used as a cache key and once a request with id ID value as '10' is received by the proxy server, subsequent requests with '10' as value are picked from the cache rather than sending the call to the target server.

...

PropertyDescription
Cache NameName of the cache in which the data has to be stored.
Cache Key

Determines the attribute in the request, which identifies whether data has to be returned from the cache or from the target server.

Click the Edit button to configure Message Part Identifier.

Time To LiveThe number of seconds after which the cache entry expires and the request is sent to the target server and cached once again.

...

Configure Response Cache policy as per the values below values:

...

For subsequent requests with the parameter 'FromCurrency' and value 'INR', responses are picked from the cache rather than sending the call to the target server.

Adaptavist ThemeBuilder EngineAtlassian Confluence