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())
Hassle-free blogging platform that developers and teams love.
  • Docs by Hashnode
    New
  • Blogs
  • AI Markdown Editor
  • GraphQL APIs
  • Open source Starter-kit

© Hashnode 2024 — LinearBytes Inc.

Privacy PolicyTermsCode of Conduct