Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ebbv
· 13y ago · 0 comments
I think having NodeJS serve up static content is a waste of time, and that's not its intended use case. So I'm with you. I set my server up with nginx serving up static content, and when an API call is made nginx proxies to my Node app.
Comments
[–]
umphetico
13y ago
Why is it a waste of time? There are plenty of good solutions now like Hipache.
[–]
NuZZ
13y ago
Perhpas he means it's a waste of
cpu
time :)