Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants