Compress RPC responses
Since the docker image is using gunicorn, we do not provide a way to compress the responses. Also on deployment platform the gateway does not always provide compression neither.
So it will be good if the server could compress the RPC response automatically if the request accept it. We can use the same threshold as tryton for the minium size when starting compression.
It will be difficult to compress static files as they may be sent using the sendfile API of WSGI.