Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Trabas – HTTP tunneling tool (ngrok alternative). Star us on GitHub.
Issues Discussions

trabas server cache-config set

Setting cache configuration for specific requests.

NOTE: This is only available when Redis is enabled.

Options

OptionTypeDescription
--client-idStringClient ID
--methodStringRequest method
--pathStringRequest path
--exp-durationIntegerRequest Cache duration in seconds

Example

trabas server cache-config set --client-id client1 --method GET --path /ping --exp-duration 60

trabas server cache-config remove

Remove cache configuration for specific requests.

NOTE: This is only available when Redis is enabled.

Options

OptionTypeDescription
--client-idStringClient ID
--methodStringRequest method
--pathStringRequest path

Example

trabas server cache-config remove --client-id client1 --method GET --path /ping

trabas server cache-config list

Show all cache configurations for specific requests.

NOTE: This is only available when Redis is enabled.