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

Commits on Feb 13, 2019

  1. Enable Django ConditionalGetMiddleware

    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.
    Thomas Parisot committed Feb 13, 2019
    Configuration menu
    Copy the full SHA
    2ae5224 View commit details
    Browse the repository at this point in the history
  2. Update settings.py.tmpl

    Thomas Parisot committed Feb 13, 2019
    Configuration menu
    Copy the full SHA
    48739b6 View commit details
    Browse the repository at this point in the history