mirror of
https://github.com/open-webui/docs.git
synced 2026-11-05 01:38:13 +00:00
[PR #1324] [MERGED] docs: document ENABLE_COMPRESSION_MIDDLEWARE trade-offs across perf a… #1299
Labels
No labels
bug
documentation
documentation
duplicate
enhancement
enhancement
good first issue
good first issue
good first issue
help wanted
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/docs#1299
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/docs/pull/1324
Author: @Classic298
Created: 7/20/2026
Status: ✅ Merged
Merged: 7/20/2026
Merged by: @Classic298
Base:
dev← Head:claude/compression-middleware-perf-docs-dgj98w📝 Commits (2)
8db2ef5docs: document ENABLE_COMPRESSION_MIDDLEWARE trade-offs across perf and scaling guidesd3f1982docs: recommend proxy-side static asset caching when disabling compression📊 Changes
4 files changed (+82 additions, -1 deletions)
View changed files
📝
docs/getting-started/advanced-topics/scaling.md(+47 -0)📝
docs/reference/env-configuration.mdx(+16 -1)📝
docs/troubleshooting/multi-replica.mdx(+4 -0)📝
docs/troubleshooting/performance.md(+15 -0)📄 Description
…nd scaling guides
Verified against open-webui source (env.py / main.py, starlette-compress
1.7.1): the flag only gates CompressMiddleware, which touches HTTP
responses exclusively — WebSocket scope passes through untouched, SSE
(text/event-stream) is not in the compressible content-type list, and
responses under 500 bytes are never compressed.
does and does not affect, the CPU/latency upside of disabling (~3-4%
per worker per py-spy profiling), the response-size downside (few KB
for typical API responses, but multi-MB first page load and 5-10x on
large chat/model JSON), and the recommended proxy-offload setup
High-Concurrency chapter, plus Profile 3 checklist and env var table
entries
and env-block entry to the scaling guide
troubleshooting guide
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.