Hacker News new | ask | show | jobs
by mastorrent 5861 days ago
For my Ajax apps I run nginx and Apache simultaneously. I don't like giving up Apache's module-based performance advantages for the application layer, but its memory usage is too high for my VPS if I want to use KeepAlive. I use nginx as the front-line web server and configure it to serve pre-gzipped static content and maintain KeepAlive connections. It then proxies dynamic requests to the Apache server. All makes for a nice low memory footprint :)