When a website is slow, the hosting usually gets the blame first. Sometimes that's fair: cheap, overloaded hosting really can ruin load times. But moving to a faster server won't fix a page that loads six-megabyte images and a dozen tracking scripts.

Speed has two halves, and you need to look at both.

Half one: the server

The first part happens before anything appears on screen. The visitor's browser asks for the page, and the server has to run the code, query the database, build the HTML and send the first piece back. That delay is called time to first byte (TTFB).

Slow TTFB usually comes from weak hosting, missing page caching or heavy database queries.

Half two: the browser

Once the HTML arrives, the browser still has to download and process every image, font, stylesheet and script on the page. This is where most sites lose time.

If your homepage pulls in huge uncompressed photos and twelve third-party scripts, even the fastest NVMe server can't make it feel quick on a phone.

A fast server gives you a good start. What you load on the page decides how fast it actually feels.

The database in the middle

On WordPress, plugins often run the same queries on every single page. A busy checkout page can easily run more than a hundred database queries. Object caching with Redis or Memcached keeps the answers in memory, so the server doesn't have to ask the database again every time.

What I would do first

If your site feels slow, work through this list:

  • Check TTFB with a tool like PageSpeed Insights. If it's over about 600 ms, look at hosting and caching first.
  • Compress and resize images, and serve WebP where you can.
  • Remove scripts you don't need, especially old tracking and chat widgets.
  • Load fonts carefully and use as few font weights as you can.
  • Turn on page caching and object caching if your host supports them.

For WordPress-specific fixes, see my guide on improving WordPress performance. And if hosting does turn out to be the problem, this is exactly the kind of setup I run at Alif Host.