Skip to Content
Advanced FeaturesCaching Control

Caching Control

APXY can strip cache-related headers (Cache-Control, ETag, If-None-Match, If-Modified-Since, etc.) from requests and responses to force the server to return fresh data.

Web UI

Caching control is managed from the CLI. The Web UI does not have a dedicated caching page.

CLI

apxy caching disable-cache, apxy caching enable-cache, and host scoping are documented in CLI Reference → Caching.

Quick example:

apxy caching disable-cache --host api.example.com

Use Cases

Debug stale data

When you suspect a cache is serving old data, disable caching for that host, reproduce the issue, then re-enable caching if the behavior confirms a cache problem.

Force fresh responses during development

Disable caching while iterating on an API integration so you always see the latest responses, then turn it back on when you are done.

Last updated on