Magento TTFB Optimization: PHP-FPM, Redis and Varnish Fixes
Most Magento TTFB advice stops at "enable Varnish". On Magento 2.4.9, three fixes mattered: PHP-FPM pm.max_children sized to actual per-process memory, a Redis cache_id_prefix collision that two stores quietly shared, and Varnish ESI scoped to cart and wishlist blocks. Here is the real var/log/php-fpm.log, redis-cli MONITOR output, and varnishlog trace that pinned each one: with a table that separates what hits TTFB from what only hits LCP and INP.