4 ms·
I've used Apache for over 20 years and I'm going to give you a feature it's missing: request coalescing. My servers mostly proxy requests to a backend (PHP-FPM
by pbowyer 5y ago
I've used Apache for over 20 years and I'm going to give you a feature it's missing: request coalescing.
My servers mostly proxy requests to a backend (PHP-FPM, but this is applicable to all other server-side languages). If m requests come in for /foo and all requests have the same cookies, Apache will pass all m requests through to the backend.
nginx instead will pass one request to the backend and then serve the response to all m requesters, reducing backend load. The setting is called proxy_cache_lock (https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_lock https://nginx.org/en/docs/http/ngx_http_proxy_module.html#pr...)
With Apache I have to put other software in front of the web server (Varnish usually) that does this for me. So switching to a server where I can reduce installs to support by 50% is appealing.