Products | Versions |
---|---|
TIBCO Cloud API Management | - |
You can either use “Mashery_Proxy_Processor_CacheExpiry” Mashery connector. Using the connector on the endpoint will work to disable caching.
Or you could have a separate service which does not use Caching feature (setup a service with endpoints that are not going to use caching. The Service TTL setting would then be set to '0'.
How To Configure at he Endpoint
Here are the instructions on using that adapter to disable Caching for a given endpoint:
Go to the Endpoint Settings > Call Transformations Tab.
Set the Processing Adapter = Mashery_Proxy_Processor_CacheExpiry
Pre Processing Adapter = Yes
Note:
**This is assuming that you have no other processors in use with the specified endpoint.
**Also if you do want to specify a TTL for the given endpoint using the adapter then you would enter the [key]:[value] in the "Data to make available for pre-processing" field. The key is 'ttl' and the value would be the number of minutes. For example, ttl:5 if you want to set the TTL to 5 minutes for the endpoint.