Skip to content

Add traffic_ctl cache clear command#13418

Open
bneradt wants to merge 1 commit into
apache:masterfrom
bneradt:traffic-ctl-cache-clear
Open

Add traffic_ctl cache clear command#13418
bneradt wants to merge 1 commit into
apache:masterfrom
bneradt:traffic-ctl-cache-clear

Conversation

@bneradt

@bneradt bneradt commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Cache resets currently require restarting Traffic Server or manually
changing the cache generation. This complicates repeatable workload
comparisons and their automation.

This adds a traffic_ctl cache clear command backed by a restricted
JSON-RPC method that advances the global HTTP cache generation. This
also documents the logical purge semantics and exercises the command in
the cache-generation AuTest.

Fixes: #9399

Cache resets currently require restarting Traffic Server or manually
changing the cache generation. This complicates repeatable workload
comparisons and their automation.

This adds a traffic_ctl cache clear command backed by a restricted
JSON-RPC method that advances the global HTTP cache generation. This
also documents the logical purge semantics and exercises the command in
the cache-generation AuTest.

Fixes: apache#9399
@bneradt bneradt added this to the 11.0.0 milestone Jul 21, 2026
Copilot AI review requested due to automatic review settings July 21, 2026 23:06
@bneradt bneradt self-assigned this Jul 21, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Provide ability to clear cache with traffic_ctl

2 participants