Flask-Compress · PyPI
pypi.org › project › Flask-CompressJun 16, 2021 · Flask-Compress allows you to easily compress your Flask application's responses with gzip, deflate or brotli. It originally started as a fork of Flask-gzip. 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.