Skip to content

Conversation

dannyvankooten
Copy link

@dannyvankooten dannyvankooten commented Nov 27, 2023

I noticed that the python.org website doesn't use any compression for all HTML responses.

Apparently the sample nginx config for Heroku didn't include the gzip_proxied setting back in the day, which allows Nginx to apply gzip compression to proxied responses.

This PR updates the nginx config file to allow applying gzip compression on proxied responses. This saves at least 37 kB on the HTML text of the python.org homepage.

@ambv
Copy link
Contributor

ambv commented Mar 11, 2024

Thanks! This was fixed with the recent move to Cabotage.

@ambv ambv closed this Mar 11, 2024
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.

2 participants