News for hackers. Stuff that matters.
Re:Why Nodejs serves a file with 80x more CPU usage than Nginx? by jameswyse on Friday April 06, 2012 @01:43AM (#3806132)
Node isn't really built for serving static files.

I'd say the easiest solution would be to stick varnish in front of your node application.

Re:Why Nodejs serves a file with 80x more CPU usage than Nginx? by cheald on Friday April 06, 2012 @06:43AM (#3806633)
That's true if you also want a caching proxy in front of your stack, but if you just want to serve static files, nginx in front of node.js is a perfectly acceptable solution.