Skip to content

Create a config option to toggle websocket compression in Streamlit server #1543

@Amey-D

Description

@Amey-D

Problem

PR #1506 enabled websocket compression in Streamlit server by default. It's a great feature and while it works well when connecting to the server directly, some reverse proxies may not support the websocket compression, making the app unaccessible.

Solution

MVP:
Create a new boolean config option server.enableWebsocketCompression to toggle websocket compression. It should be enabled by default, and optionally users can override and disable it.

Metadata

Metadata

Assignees

Labels

type:enhancementRequests for feature enhancements or new features

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions