Skip to main content

Enable the Chain Proxy cache

Codefi Orchestrate uses a caching mechanism to reduce the number of calls to the Chain Proxy. Use the following environment variables to configure the cache when starting the Orchestrate Gateway API.


Configure each microservice using microservice-specific environment variables. Command line options are also available and take precedence over environment variables.


Environment variableCommand line optionDescriptionDefault
PROXY_CACHE_TTLproxy-cache-ttlProxy Cache TTL duration0s (disabled)
PROXY_MAXIDLECONNSPERHOSTproxy-max-idle-connections-per-hostMaximum number of open HTTP connections to a chain50