Hosting for WordPress speed: what to ask and test

What a WordPress host should provide for speed: PHP, opcode and page caches, an object cache, resources and location. How to test your host and when to move.

IntermediateHow-to7 min readUpdated October 30, 2026

In this guide
  1. What the host controls
  2. What to check
    1. PHP: version and settings
    2. Resource limits on shared hosting
    3. What does not belong on the web server
  3. Step 1: read Site Health
  4. Step 2: measure the server
  5. Step 3: decide whether to upgrade or move
    1. Moving, in the handbook's order
  6. Mistakes to avoid
  7. Check your own page
  8. Sources

What the host controls

The general hosting guide covers plan types and how to compare them. This guide is about what WordPress needs from a host.

The WordPress Advanced Administration Handbook lists the factors: the hosting environment, WordPress configuration, software versions, and the number and size of images. Of these, the host decides the environment and the software. It lists what matters in the environment as the number of processors, processor speed, memory, disk space and the type of disk, and says that providers generally give higher performance for a higher price. It also names distance to your visitors and the load on the server.

What to check

ItemWhy it mattersHow to check
PHP versionWordPress runs on PHP. Site Health says newer versions get regular security updates and may improve speed.Site Health shows your version and whether it is recommended. It asks the WordPress.org API for the answer.
Opcode cacheIt keeps compiled PHP in memory, so files are not read and parsed on every request.Site Health has a test for it in recent versions. Otherwise ask the host.
Page cache at the serverIt serves finished pages without running PHP.The Page cache test in Site Health, and the headers check in WordPress caching.
Object cache (Redis, Memcached)It saves database trips on dynamic sites.Site Health says whether a persistent object cache is in use. See WordPress caching.
DatabaseMySQL or MariaDB should be current and use InnoDB.Ask the host. The handbook says InnoDB should be used and old MyISAM tables converted.
DiskThe handbook says SSD or NVMe storage can make a big difference.Ask the host.
Memory and process limitsA site that hits a limit slows down or shows errors under load.Ask for the limits for your plan. See below.
ProtocolsHTTP/2 or HTTP/3, a modern TLS setup and text compression.See HTTP/2 and HTTP/3, TLS and compression.
CDNIt keeps files, and sometimes pages, near visitors.Ask whether one is included or easy to add. See what is a CDN.
Staging and backupsYou need a place to test changes, and a way back.Ask how both work and how long backups are kept.
Loopback and scheduled tasksWordPress runs scheduled tasks by requesting itself. A host that blocks this breaks them.Site Health has tests for loopback requests and for scheduled events.

PHP: version and settings

The handbook says PHP's version and configuration have a large impact on how well, and whether, WordPress runs. Newer versions bring performance and security improvements. It also says to take care when upgrading, because older plugins and themes may not work with a newer version. Test on a staging copy first. The version numbers it names are tied to its writing date, so use the Site Health result and the PHP project's supported-versions list instead of any number printed here.

Two settings often matter:

Resource limits on shared hosting

On shared plans, the handbook says to look at the limits of the plan: disk input and output, IOPS, the number of processes and the total processes. A site that reaches one of these can slow down or fail, even if the server as a whole is fast. If your site slows only at busy times, or shows errors such as 503, ask the host which limit you reach.

What does not belong on the web server

The handbook's advice: do not run DNS on your WordPress server, use a commercial or registrar DNS service instead. Do not run a mail server on it either. For contact forms, use a form plugin with an external mailing service. Both free the web server for pages. The first also makes switching servers easier.

Step 1: read Site Health

Open Tools, then Site Health. The Status tab runs the checks. Note, in this order:

  1. PHP version.
  2. The database server.
  3. Page cache.
  4. Persistent object cache.
  5. Opcode cache.
  6. Loopback requests and scheduled events.
  7. HTTPS.

Anything marked critical or recommended is a question for the host. Screenshots make support requests clearer.

Step 2: measure the server

Measure how long the server takes to answer, with and without a cache. The server response time guide shows a one-line measurement with curl. Take:

WordPress's own threshold in Site Health is a median of 600 milliseconds. That figure comes from web.dev's time-to-first-byte guidance, and it is also Lighthouse's limit for the server response. Aim well below it for cached pages.

Read the results like this:

ResultLikely cause
Cached pages are slowNo page cache, or the cache is not working. Fix this first.
Cached pages are fast, uncached pages are slowPHP and database work is slow. Check the PHP version, the opcode cache, the object cache, plugins and the database. See themes and plugins and database cleanup.
Everything is slow at busy times onlyA resource limit. Ask the host.
Fast to nearby visitors, slow far awayDistance. A CDN helps for files, and for pages if it can keep them.

Step 3: decide whether to upgrade or move

Upgrade the plan, or move, only after the cheaper fixes. The order that tends to pay off:

  1. A page cache that works.
  2. A current PHP version with the opcode cache on.
  3. A persistent object cache, if your site is dynamic.
  4. Fewer or lighter plugins and images.
  5. A better plan or host.

Signs that the host is the limit: Site Health shows the right settings, the plugins are tidy, and uncached pages are still slow; the site slows or errors at busy times; or the host will not offer a current PHP version, a cache or a staging site.

Moving, in the handbook's order

The handbook's guide to moving WordPress to a new server begins with a backup of the files and the database. When the domain and addresses stay the same, moving is mostly copying the files and the database to the new server, and changing the database name and login in wp-config.php if they differ. To test before the switch, you can temporarily change the site address stored in the database. Redirect rules need care when you go live. If you ever need to replace the old domain in the database, use a tool made for it, because a plain search and replace can break stored data that contains the length of the address.

Practical rules:

Mistakes to avoid

Check your own page

Run the free audit and look at Document request latency. If the server response fails on a page that should be cached, fix the cache. If it passes on cached pages, test one that is not cached. A gap between the two is where the host's resources and your plugins show.

Sources

Start here

Free website audit

Live Google data for any public page: mobile and desktop.

Mobile + desktop · Lighthouse lab test · Real-user Chrome data when Google has it

Rather have this done for you? WordPress speed · Book a call

Related guides

All guides →