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

Enable Django ConditionalGetMiddleware #455

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

Conversation

thom4parisot
Copy link

@thom4parisot thom4parisot commented Feb 13, 2019

Thus, it adds a Content-Length response header.

Ngninx uses Content-Length to decide if yes or no, it compresses the output. With this feature enabled, API responses will be gzipped by Nginx, with the expectation of a quicker time to interaction in pages.


If it's the wrong proposal, then the problem I try to solve is the Content-Length response header is not output in API responses.

Thus, it adds a `Content-Length` response header.

Ngninx uses `Content-Length` to decide if yes or no, it compresses the output. With this feature enabled, API responses will be gzipped by Nginx, with the expectation of a quicker time to interaction in pages.
@pzwsk
Copy link
Collaborator

pzwsk commented Mar 13, 2019

Hi @nastasi-oq can you have a quick look and approve if ok. Thanks

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.

None yet

2 participants