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

Add minimum length for responses to be gzipped #20

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

Commits on Dec 5, 2018

  1. Add minimum length for responses to be gzipped

    Very short responses become larger if they are gzipped. With
    the minLength parameter you can define what minimum length a
    response should have before it is gzipped. The response is
    buffered up to the minimum length. As soon as the length of
    the response becomes larger than the minimum length, the buffered
    part will be written to the gzip writer and the headers will be
    set accordingly. After that no more buffering will be applied.
    If the response stays shorter than the minimum length, it will
    stay uncompressed and no Accept-Encoding and Vary headers will
    be set.
    ioppermann committed Dec 5, 2018
    Configuration menu
    Copy the full SHA
    4edf787 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c475f68 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    618970c View commit details
    Browse the repository at this point in the history
  4. Add comments

    ioppermann committed Dec 5, 2018
    Configuration menu
    Copy the full SHA
    cc8da47 View commit details
    Browse the repository at this point in the history