I saw many articles showing how NodeJS can serve static content, like this, basically, they use Node to read the file and return the result. I don't think thats the right way? It seems inefficient? Also how do I detect the right content type (CSS, JS etc)? Is there a proper way of doing this?
问问题
1295 次