flask-compress
Flask-Compress allows you to easily compress your Flask application's responses with gzip, deflate, brotli or zstd.
Flask-Compress allows you to easily compress your Flask application's responses with gzip, deflate, brotli or zstd.
To install this package, run one of the following:
Flask-Compress allows you to easily compress your Flask application's responses with gzip, deflate, brotli or zstd. It originally started as a fork of Flask-gzip. Supported Python versions are 3.9 and newer. The preferred solution is to have a server (like Nginx) automatically compress the static files for you. If you don't have that option Flask-Compress will solve the problem for you.
Summary
Flask-Compress allows you to easily compress your Flask application's responses with gzip, deflate, brotli or zstd.
Last Updated
Dec 1, 2025 at 16:19
License
MIT
Total Downloads
77.4K
Supported Platforms
Unsupported Platforms
GitHub Repository
https://github.com/colour-science/flask-compress