Node.js gzip compression

It seems to me like node.js as a brand new project is always set to have gzip compression always enabled as default, however for some reason when I run my site through a tool like pingdom it says gzip compression is not actually on.

On lines 26-29 of /lib/server.js has this as a conditional, so if it is always on, then why have it as a condition?

Am I meant to do something more to fully activate it?

Community Page
Last updated: