April 18th, 2020 at 12:23 AM
Here's a poll for the server admins out there.
Personally, I use nginx. Apache is good for compatibility, but is an absolute RAM hog in comparison. I've hosted an entire chat room host with about ~600 chat rooms (about 40 of which were active) on a tiny 512 MB VPS thanks to nginx. Makestation is also hosted on Nginx.
It's a very noticeable improvement when RAM is an issue. .htaccess files (used mostly for SEO friendly URLs) don't work out of the box, however. These have to be manually converted to nginx configurations to enable good SEO.
Which do you prefer? Nginx for speed, or Apache for compatibility?
- Apache is good for compatibility. It is the most widely used web server in the world. It is installed on the vast majority of web hosts, and is the only web server software that is natively compatible with .htaccess files that are widely used by most PHP applications.
- Nginx is FAR faster than Apache. The perforamance improvements are significant. Most corporate or large websites do extra work to convert their .htaccess files to nginx configurations to take advantage of Nginx's performance.
Personally, I use nginx. Apache is good for compatibility, but is an absolute RAM hog in comparison. I've hosted an entire chat room host with about ~600 chat rooms (about 40 of which were active) on a tiny 512 MB VPS thanks to nginx. Makestation is also hosted on Nginx.
It's a very noticeable improvement when RAM is an issue. .htaccess files (used mostly for SEO friendly URLs) don't work out of the box, however. These have to be manually converted to nginx configurations to enable good SEO.
Which do you prefer? Nginx for speed, or Apache for compatibility?