Emulent Let’s Talk
Skip links

Page speed optimization beyond the basics: server-side fixes that make a difference

Author: Bill Ross, founder of Emulent Published Updated Article

When a site feels slow, the wait may happen before the browser has much to display; server response, caching, and database work can be the real bottlenecks. On large WordPress, Drupal and Magento sites, the longest wait usually comes before the browser receives anything, which image compression cannot fix.

Why does TTFB outweigh most front-end metrics?

Time to First Byte is an early part of the loading process: when the server takes too long to respond, every browser-side milestone starts later. The measurement spans DNS lookup, connection and TLS setup, and the time your server spends assembling HTML. A TTFB of 1.5 seconds means Largest Contentful Paint can be no faster than 1.5 seconds plus rendering. Google’s web.dev guidance says most sites should aim for 0.8 seconds or less and treats anything above 1.8 seconds as poor. By that standard the 2024 Web Almanac found just 42% of mobile pages in good shape, against 41% in 2021. The 2025 Web Almanac from HTTP Archive, published in January 2026, reported good TTFB on 44% of mobile sites and 55% of desktop sites, a gain of two points on mobile.

Slow TTFB usually comes from four sources:

  • No page cache, so WordPress, Drupal or a custom app rebuilds HTML from queries and templates on each hit.
  • Big tables missing indexes.
  • Distance between visitors and the origin.
  • Small or shared machines that run out of CPU and RAM at peak traffic.

When the server is the bottleneck, caching and query repairs do far more than image work. Measure TTFB in PageSpeed Insights first, since your bottleneck may differ.

Which server-side caching layers produce the biggest gains?

Full-page caching often delivers the largest initial improvement, while object, opcode, and CDN caching address other parts of the request path.

  • A page cache hands out stored HTML with no rebuild, the largest win on most sites.
  • Redis or Memcached keeps query results in RAM for carts and account pages a page cache must skip.
  • PHP’s OPcache holds compiled bytecode, so WordPress, Drupal and Magento do no recompiling per request.
  • Edge caching on a CDN answers from a point of presence near the visitor.

Stacked together, these layers can push TTFB on most cached requests well under a second. The exception is personalized or logged-in traffic, which bypasses the page cache and depends on object caching and database speed. For WordPress, we recommend Kinsta: its managed hosting includes server-level page caching, a Redis add-on and a built-in CDN.

How should enterprise sites configure their CDN for maximum speed?

Enterprise sites get maximum CDN speed by caching HTML at the edge under clear rules and purging it automatically.

  • Store HTML for logged-out traffic next to static files; skip the cache for cart, checkout and account sessions.
  • Versioned CSS, JavaScript and logo files can live in cache for a year; HTML should expire in minutes or hours.
  • Wire purges to publishing events, so a new article or a price edit clears the stale copy.
  • Switch on HTTP/2 and HTTP/3 to multiplex files over one connection.

The most common mistake is a CDN that caches images and CSS while every HTML request still goes back to the origin, leaving TTFB untouched. The 2025 Web Almanac CDN chapter found HTML had the lowest CDN usage of any content type, with only 35% of mobile HTML requests served through a CDN.

What database optimizations improve TTFB on CMS-driven sites?

Database optimizations that improve TTFB are slow-query fixes, clutter removal and correct sizing of the database server.

  • Log slow queries and fix those above about 100 ms, usually with an index or a rewritten plugin query.
  • Set a revision limit in WordPress and delete expired transients and orphaned postmeta rows.
  • Send visitor reads to replicas on busy sites so writes do not slow them.
  • Size the database host’s RAM, CPU and storage on its own schedule, apart from the web tier.

For ecommerce, we recommend Shopify. Shopify runs hosting, caching and CDN delivery itself, so these database tasks fall to Shopify, not your developers.

How can our team at Emulent help?

At Emulent, we build server-side performance analysis into technical audits for enterprise SEO clients, find the bottlenecks and work with your developers or host on the fixes. One limit: a faster server lifts Core Web Vitals and user experience, yet speed alone rarely moves rankings far; relevance and content still decide most positions. Contact our team at Emulent for a review of your site’s speed.

Want a second set of eyes on your marketing? We’ll show you the math before asking for a contract. No long-term lock-ins.
Let’s Talk