You are reading Codefi Orchestrate development version documentation and some displayed features may not be available in the stable release. You can switch to stable version using the version box at screen bottom.

Updated on March 20, 2022

# 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.

Tip

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

## Configuration

Environment variable Command line option Description Default
PROXY_CACHE_TTL proxy-cache-ttl Proxy Cache TTL duration 0s (disabled)
PROXY_MAXIDLECONNSPERHOST proxy-max-idle-connections-per-host Maximum number of open HTTP connections to a chain 50