...
The policy allows 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 from the target server only if it is not present in the local cache.
For example, a query parameter id can be used as cache key and once a request with id value as '10' is received by the proxy server, subsequent requests with '10' as value of 10 are picked from the cache rather than sending the call to the target server.
Configuration
...
Property | Description |
---|---|
Cache Name | Name 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 Cache cache or from target server. Click the Edit button to configure Message Part Identifier. |
Time To Live | The number of seconds after which the cache entry expires and request is sent to target server and cached once again. |
...