TOPIC · 04 · UPDATED 2026-10allwpcare.com/topics/speed-up-wordpress/
Topics / speed-up-wordpress

Speed Up WordPress: Measure First, Then Fix the Limits

Add a page cache and shrink images first, after you measure. Then fix the memory, time, upload and cron limits that stop tasks.

Measure first, then add a page cache, then shrink images, and leave the small switches for last. To measure, time the server and count the bytes for your home page in a private window. In the speed guide's tests, a page cache and image sizes saved far more than any small switch. Those numbers come from one small test site, so compare ratios on your own site, not milliseconds.

Six stacked cards. 1, measure first. 2, page cache: server time 31.2 ms to 1.3 ms in the speed guide's test. 3, image size: one photo at Full Size weighs 40 times what the emoji switch saves. 4, hosting and plugins. 5, small switches last: emojis save 7,174 bytes, the rest 0 to 110. A red side card: when a limit stops you, read memory, time, upload size and loopback in Site Health, Info, Server.
The order to work in. The numbers come from the measurements in the speed settings guide, run on WordPress 7.1.

Where to start#

What you noticeOpen
Pages load slowly for visitorsSpeed settings, measured, then the page cache item in Site Health and your host's page cache
A photo will not uploadFile exceeds the maximum upload size
An upload gives a 413413 Request Entity Too Large
"Allowed memory size exhausted"Allowed memory size exhausted
"Maximum execution time exceeded", a 502 or a 504Execution time, 502, 504
A white screen or a 500500 Internal Server Error, then the debug log
Scheduled posts do not go outMissed schedule
Site Health says loopback failedLoopback request

Read your limits in one place#

Most of the upload and memory errors above come down to five numbers. WordPress lists them for you. Open Tools → Site Health → Info, then open Server.

The Server section of Site Health Info. PHP time limit 30. PHP memory limit 128M. PHP memory limit (only for admin screens) 256M. Upload max filesize 2M. PHP post max size 8M.
Site Health → Info → Server on a fresh WordPress 7.1.4 test site (PHP 8.3, Apache). The limits are PHP time limit, the two memory limits, Upload max filesize and PHP post max size.
  • PHP time limit is how many seconds one request may run. The execution time page explains what counts toward it.
  • PHP memory limit is per request. The admin-only line is the higher limit WordPress uses on admin screens.
  • Upload max filesize and PHP post max size: WordPress uses the smaller one as the upload limit. On this site that is 2 MB, even though the post size is 8 MB.

Change a limit only after you have read the message that sent you here. The memory page says to look for the cause above 512M instead of raising the number again.

What to leave alone#

The speed guide measured the small switches one at a time. They are fine to turn on, and none of them is a cure:

  • Emojis saved one request and 7,174 bytes on a 93 KB page, the only one worth printing in kilobytes.
  • Head tags, embeds, heartbeat on the public site, revision limits saved between 0 and 110 bytes on the front page. A revision limit keeps the database smaller; it does not change page speed.
  • Server time did not change with any of them. Differences of 2 to 5 ms between runs are noise.

Counting plugins is a poor guide too. Five active plugins added about 5 ms on the test site. A plugin that calls an outside service on every page can add more, so test one at a time on a staging copy. This is a general caution; the speed guide did not measure it.

Measure and fix what makes pages slow

Start here. These pages show numbers, so you can tell which change is worth your time.

Limits that stop uploads and big tasks

Not speed in the visitor sense, but the same few PHP and server numbers. Open the page that matches your message.

Scheduled tasks, loopback and timeouts

A site can look fine to visitors and still not run its background work.

Sources

  1. Editing wp-config.php (WP_MEMORY_LIMIT, DISABLE_WP_CRON), WordPress developer handbook
  2. Cron, WordPress plugin handbook
  3. wp_max_upload_size(), WordPress code reference
  4. PHP core configuration: memory_limit, max_execution_time, upload_max_filesize, post_max_size
Newsletter

One email when something breaks or changes.

New plugins and re-tested guides, about twice a month. Never a sales pitch.