Hacker News new | ask | show | jobs
by bad_user 5745 days ago
> When I have something like nginx which is known to serve files in a very efficient manner, there isn't any reason why I'd choose to let this server do it.

For localhost development.

1 comments

A major selling point of this seems to be that you can package your application into a nice little bundle and just push it into your deployment environment.

In fact, I would appreciate if there was a way to make static files (like js and css) location-agnostic.

I could say: <% Html.Stylesheet ("styles/foo.css") %> and it'll map to /Content/styles/foo.css or my nginx server or my Amazon cloudfront storage, etc.