I’m self-hosting 3 WP sites. Apache conf.d files redirect the incoming HTTP requests based on the requested domain. The WP installations are in 3 parallel directories under /var/www/html (located on an NVMe drive). The MariaDB server is on the localhost. The server is an Intel i5 that runs about 0.75 max server load as viewed from top.
I installed WooCommerce on one of the sites to set up a small store. It works great except the TTFB is about 2.5 seconds. I installed Memcached and used the advanced-cache.php drop-in to get WP to use it. I installed W3 Total Cache to fine-tune things and ensure it was working.
In testing against some of the online speed testing sites, I found something interesting, but I don’t know how to take advantage of it. IF I have a couple of tests running at once, my TTFB is 40-90msec. If I have just one user, the TTFB is 1.8 – 2.54 seconds!
The Memcached setup is default values except that only localhost can access it.
What am I missing? I would think that Memcached would keep the first page in cache for more than a couple of seconds!
HELP?
PS the URL is
[ad_2]
I think TTFB is actually lower:
[https://speedvitals.com/ttfb-test?url=https://www.openthebookofshadows.com/])
I’m getting 1.3 seconds.
That is impossible to fix unless you have a FULL page caching on a lot of CDN pops.
If you want just a better TTFB for your local market, move the server to some place closer to your desired location.
There are some web hosting companies offering full page caching on the edge to provide a really low TFFB. You can take a look on this review: [https://onlinemediamasters.com/wordpress-hosting/])