I run my website on an apache server and I noticed something interesting and I have discovered it through testing with apache bench.
The page I'm testing is the IP address my server runs on and that would return a redirect to an actual website hosted on the same server. The output before the redirect is about 50 bytes of data.
While web browsers happily redirect, I played the role of a bad actor by testing the same page with different connection settings and NO keep alive.
Here are results of the craziest tests....
I did notice the numbers were mildly high (in the 200ms ballpark) if I used 50 connections instead (changing -n200 to -n50) and that's likely why google pagespeed insights on a rare occasion reports a high TBT on a simple webpage with no external components and hardly any inline javascript or CSS.
I did limit the maximum number of connections on my server to HTTP and HTTPS with IPtables but I don't know the perfect limit to apply because I want google and other search engines to crawl my site without a problem. If I don't apply a limit, then people who connect to my site with keep-alives disabled could make the site loading time high.
