scantron icon indicating copy to clipboard operation
scantron copied to clipboard

Uncomment gzip file types in nginx.conf

Open derpadoo opened this issue 5 years ago • 2 comments

image

https://github.com/rackerlabs/scantron/blob/584febded2a68d04f06734f6f1a6517e4efbfe08/ansible-playbooks/roles/console/templates/etc/nginx/nginx.conf.j2#L56

derpadoo avatar Jul 29 '20 15:07 derpadoo

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;

derpadoo avatar Oct 23 '20 15:10 derpadoo

Letting the config bake in prod.

derpadoo avatar Oct 23 '20 15:10 derpadoo