With a new installation of Flarum, it seems to have a much longer TTFB time than any other program, I tested it many times and on multiple servers, the TTFB values were no smaller than 300ms, which is an exaggeration, it's equivalent to the latency of the data going from China to the US and back again.
As you can see, this is one of the results of my local testing. Static files are very fast to load, but Flarum's TTFB is very long, and if it were on an online server it should be Higher.
I tried to install all the required services on the same machine, MySQL, Redis, but it didn't improve TTFB time in any way.
Attached is the configuration information for the server I tested:
CPU: I7 4vCPU
Use LiteSpeed and OpenLiteSpeed.