News for hackers. Stuff that matters.
Re:Apache httpd 2.4.26 released by ag_47 on Monday June 19, 2017 @03:24PM (#14589641)
Note that this is intended and desirable for any server with moderate to high loads. Plus, Nginx can reload its configuration gracefully without dropping connections.
Re:Apache httpd 2.4.26 released by tqkxzugoaupvwqr on Monday June 19, 2017 @03:34PM (#14589741)
For the uninformed: The reason .htaccess is not desirable is that the server has to check each directory in the request path for an .htaccess file and read its content.
Re:Apache httpd 2.4.26 released by geofft on Monday June 19, 2017 @04:06PM (#14589987)
What's the actual effect of this? Negative filesystem lookups are cached, and I believe they're cached forever on local filesystems (since you know if anyone's writing to the local filesystem), so the overhead is just that of a couple of syscalls. That feels like it's small enough that you really want to benchmark to see if it matters for you.
Re:Apache httpd 2.4.26 released by combatentropy on Monday June 19, 2017 @04:44PM (#14590307)
No effect, on my server, a $5-per-month Digital Ocean droplet. Using the program called Apache Bench (ab) to retrieve a file four directories deep: /a/b/c/d/e.html

With .htaccess files turned off (AllowOverride None), I got 282 requests per second. With .htacess files on (AllowOverride All) I got 286 requests per second (Yes, actually a few more hits per second with .htaccess turned on, but the results swing from test to test by a few percent anyway).