LiteSpeed tuning guide puts LSCache hits ahead of adding PHP workers
A LiteSpeed tuning guide recommends maximizing LSCache hits before increasing PHP workers, citing much higher benchmark throughput for cached WordPress pages on a 2-vCPU test server.
The guide says most high-traffic WordPress tuning should begin with page-cache hit rates because a cached page does not start PHP. On a test server with 2 vCPUs and 8 GB of RAM, an uncached page handled 32 to 33 requests per second, while LSCache handled 17,100 to 20,500 requests per second with 20 concurrent clients and 20,500 to 22,400 with 100.
It recommends sizing PHP workers to available CPU and memory rather than raising the limit automatically. In the test, four and 10 workers produced the same throughput on two CPUs. The guide says extra workers help mainly when requests spend time waiting on an external API or database, and warns that swapping can be slower than queueing.
For requests that cannot use page caching, including WooCommerce cart and checkout pages, account areas, admin pages and AJAX calls, it recommends an object cache such as Redis or Memcached and enabling PHP OPcache. It also recommends running WP-Cron through a real scheduled cron job instead of triggering it during visitor requests.
The guide advises checking cache headers, investigating cookies, query strings, purges, varying rules and logged-in traffic, then changing one setting at a time and measuring the same URL. Its measurements used OpenLiteSpeed 1.9.3, LSPHP 8.3, MariaDB 10.11 and WordPress 7.1.3 on October 18, 2026; it notes that results vary with hardware, plugins, themes and network conditions.