express.js

The drastic effects of omitting NODE_ENV in your Express.js applications

Most developers learn best by examples, which naturally tend to simplify matters and omit things that aren’t essential for understanding. This means that the “Hello World” example, when used as starting point for an application, may be not suitable for production scenarios at all. I started using Node.js like that and I have to confess that it took me almost two years to quantify the huge performance impact of omitting a … read more