Search code examples
linuxnginxmonoservicestackfastcgi-mono-server

ServiceStack-based web site under Mono/Linux: Performance with static content


I'm planning on converting an ASP.NET MVC web site to ServiceStack Razor, with the aim of hosting it on a Linux server.

What would be the best solution for serving the static content of the site? Would a self hosted daemon behind Nginx be OK, or should I use Nginx to serve that directly? What are the benefits/disadvantages with using Mono FastCGI?


Solution

  • If you have an opportunity to, serve static files with nginx, that would always be the most efficient option.

    It's also what www.servicestack.net does with a lot of their Live Demo's.