Here’s what I did to enable gzip compression.
npm install compression
In the ./config/http.js, add the following code.
middleware: {
compress: require('compression')(),
}
Note this will universally enable gzip compression.
Here’s what I did to enable gzip compression.
npm install compression
In the ./config/http.js, add the following code.
middleware: {
compress: require('compression')(),
}
Note this will universally enable gzip compression.
Thanks a lot , it worked for me