Skip to content

Stream non-cacheable/bypass responses#13

Merged
roboshyim merged 1 commit into
masterfrom
feat/streaming-proxy
Jan 31, 2026
Merged

Stream non-cacheable/bypass responses#13
roboshyim merged 1 commit into
masterfrom
feat/streaming-proxy

Conversation

@roboshyim

Copy link
Copy Markdown
Owner

Implements streaming proxying for responses that are not stored in cache.

  • Adds reqwest stream feature + futures-util
  • In cache miss path:
    • Cacheable responses still buffer (needed to store)
    • Non-cacheable and sw-dynamic-cache-bypass responses stream to client (no full-body buffering)

This reduces memory usage and improves latency for large uncacheable responses.

Related to issue #1 (Streaming proxying).

@roboshyim roboshyim merged commit 143995c into master Jan 31, 2026
2 checks passed
@roboshyim roboshyim deleted the feat/streaming-proxy branch January 31, 2026 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant