Comment 4 for bug 1120321

Revision history for this message
Chang Phui-Hock (phuihock) wrote :

I know this is a bit old, but while we wait, here's what I'd suggest.

First thing that you may try is to serve OpenERP with gunicorn and use nginx as reverse proxy. Then, in your nginx.conf (/etc/nginx/nginx.conf), enable on-the-fly gzip compression. Make sure that "applications/javascript" is added to gzip_types because javascripts (like this one) are served with this mimetype, like the following:

gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/javascript;

I manage to reduce the download time of webclient/js/?db=... from 17s to under 5s.