Skip to content
New issue

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

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

Already on GitHub? # to your account

Enable gzip in nginx #343

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Enable gzip in nginx #343

wants to merge 2 commits into from

Conversation

mburns
Copy link

@mburns mburns commented Jun 26, 2023

took a swing at #51, untested

Two knobs to consider adjusting:

  • gzip_min_length - recommendations can range from (256, 500, 1024) bytes.
  • gzip_comp_level - set at 6, but not sure this is even worth setting explicitly (default is is 1)

Sources:

mburns added 2 commits June 26, 2023 01:30
* enables gzip
* moderate compression level (`6`)
* ignores files <512bytes
@bromagosa
Copy link
Collaborator

Thank you for your contribution. However, I am a bit hesitant to spend time testing this when you explicitly say you haven't tested it yourself :)

Any chance you can try your code first, and get back to us?

Thanks!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants