open-risk-data-dashboard icon indicating copy to clipboard operation
open-risk-data-dashboard copied to clipboard

Enable Django ConditionalGetMiddleware

Open thom4parisot opened this issue 6 years ago • 1 comments

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.

thom4parisot avatar Feb 13 '19 16:02 thom4parisot