I was impressed by the performance, especially with ExpressJS, and started digging deeper until I noticed "cf-cache-status: HIT". What I'm seeing is not really a "self-hosted website", but a Cloudflare-hosted cache of a self-hosted website. Edit : I wanted to get an idea of the "real" performance, so I went to a non-existent page so the cache would miss. I waited 930ms for a 301, then another 590ms for the 404 page.
Of course it's using cdn/Cloudflare. I live in the Caribbean. Good thing it was! A topic such as Home Lab will see traffic from all over globally. No cdn would be terrible idea. Not sure of you are located but Pingdom test for 404 does not match your claim: https://tools.pingdom.com/#5ca8d73c1e400000 And of course 404 pages will be slower. Because Cloudflare still has to receive the request first, then check origin s…
I just ran that Pingdom test again, 938ms for the 301 and 3861ms on the 404 on a missed cache. Now that it's in the cache, everything loads in less than 247ms.