Skip to content

Any option to add Content-Length header in the response? #1062

Answered by klauspost
dxps asked this question in Q&A
Discussion options

You must be logged in to vote

The gzhttp is for dynamic compression. If it is static content, you really should just do it yourself - that will avoid having to compress on every download - which sounds like what you really want.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@dxps
Comment options

@klauspost
Comment options

Answer selected by dxps
@dxps
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1061 on March 16, 2025 15:00.