Enable gzip for CSS and Javascript
This will allow to reduce size of response for bundle.js from 1.7MB to 377KB. Change-Id: Ic3badbe8085c9d1b63503d106a7810f69d3afaf4 Partial-Bug: #1517028
This commit is contained in:
parent
6a5f6c0afb
commit
ec562eb98e
|
@ -31,7 +31,7 @@ server {
|
|||
|
||||
gzip on;
|
||||
gzip_min_length 1000;
|
||||
gzip_types text/plain application/json;
|
||||
gzip_types text/plain text/css application/json application/javascript application/x-javascript;
|
||||
|
||||
location /static {
|
||||
autoindex on;
|
||||
|
|
Loading…
Reference in New Issue