Sign in
Log inSign up

What are the edge cases when using compression in express server will not help to improve performance (Or can downgrade the performance too)?

Ghanshyam K Dobariya's photo
Ghanshyam K Dobariya
·May 2, 2018

Below is the code which most of the times developers just copy and paste.

var express     = require('express')
var compression = require('compression')

var app = express()
app.use(compression())