cloudwego / cloudwego/hertz

Proposal: add brotli middleware

Open
#1,257 2 comments 0 reactions 1 assignee Claimed by @xiaost View on GitHub
Dominant language
Go
Stars
7.4k
Forks
643
Avg merge
14h 5m
Merged PRs (30d)
2

Description

**Is your feature request related to a problem? Please describe.**

- Currently Hertz does not support brotli yet.
- Brotli offers higher compression rates and better static content optimization compared to Gzip.

**Describe the solution you'd like**

Add brotli middleware

**Additional context**

A possible implementation: [https://github.com/justlorain/brotli-hz](https://github.com/justlorain/brotli-hz)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.