Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(net/ghttp): add middleware MiddlewareGzip for compressing response content using gzip #4008

Merged
merged 2 commits into from
Dec 9, 2024

Conversation

gqcn
Copy link
Member

@gqcn gqcn commented Dec 5, 2024

No description provided.

@gqcn gqcn changed the title feat(net/ghttp): add MiddlewareGzip feat(net/ghttp): add middleware MiddlewareGzip for compressing response content using gzip Dec 5, 2024
@houseme
Copy link
Member

houseme commented Dec 5, 2024

和nginx上的对比,效率、资源占用怎么样?

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Compared with nginx, how is the efficiency and resource usage?

@gqcn
Copy link
Member Author

gqcn commented Dec 5, 2024

和nginx上的对比,效率、资源占用怎么样?

我估计没有nginx好,包括静态资源特性也是如此,这里只是提供了一个可选择项。

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Compared with nginx, how is the efficiency and resource usage?

I guess it is not as good as nginx, including the static resource features. It is just an option here.

@gqcn gqcn merged commit bae78fb into master Dec 9, 2024
20 checks passed
@gqcn gqcn deleted the feat/middleware-gzip branch December 9, 2024 15:12
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.

3 participants