scantron
scantron copied to clipboard
Uncomment gzip file types in nginx.conf

https://github.com/rackerlabs/scantron/blob/584febded2a68d04f06734f6f1a6517e4efbfe08/ansible-playbooks/roles/console/templates/etc/nginx/nginx.conf.j2#L56
Saw a 40-50% drop in request time when enabling gzip on .json files for a 100 MB scan file. Not a huge gain right now. May come back to this another day.
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
Letting the config bake in prod.