3 ms·
Also...hang on a second. I get that morally we might feel like it is better for these ill-mannered varmints to receive a well-deserved '401 Unauthorized' HTTP
by jameshart 4y ago
Also...hang on a second.
I get that morally we might feel like it is better for these ill-mannered varmints to receive a well-deserved '401 Unauthorized' HTTP response when they try their shenanigans.
But... really, if they were just going to get a '404 Not found' anyway, who cares? Your server has to serve pretty much the same number of bytes, and it has to run less regexes over user agent headers.
There's just something I find charmingly anachronistic about trying to operate a server like this.
- 2000UltraDeluxe 4y agoWordPress uses a lot of resources for 404 pages. It's dumb but WordPress is everywhere. One site being hammered is one thing. Thousands of sites being hammered at the same time is another. The issue in the article is a current and live problem. Blocking the requests saves a lot of CPU cycles.