mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 16:35:53 +02:00
[GH-ISSUE #1236] Enable permessage-deflate (RFC 7692) #873
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#873
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?
Originally created by @bt90 on GitHub (Dec 10, 2024).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1236
💡 Idea
WebSocket messages are uncompressed by default, which wastes a lot of bandwidth for text content. RFC 7692 specifies a protocol extension that adds deflate compression. This behavior is strictly opt-in and supported by all major browser vendors.
💻 Target components
Enabling this on the server side should be sufficient: https://pkg.go.dev/github.com/gorilla/websocket#hdr-Compression_EXPERIMENTAL
@binwiederhier commented on GitHub (Feb 5, 2026):
Thank you for suggesting this, but I don't think I have any interest in adding this.