Short answer
Speed up WordPress by making each page cheaper to build and smaller to download. Shrink images, remove plugins you do not need, and cache fairly static pages so PHP does not rebuild them on every visit. WordPress.org recommends PHP 8.3 or newer, MariaDB 10.11 or MySQL 8.4 or newer, and HTTPS. Those steps do not promise a fixed percentage.
Last verified against the sources listed below.
Key takeaways
- WordPress.org says image count and file size are performance factors, and it points to caching for the quickest gain.
- Choose JPG, PNG, or GIF on purpose, and consider WebP because WordPress.org says it is smaller.
- A caching plugin stores posts and pages as static files. Dynamic pages are harder to cache.
- The recommended host baseline, as of the May 2026 requirements page, is PHP 8.3 or greater and HTTPS.
- PHP 7.4 and MySQL 5.5.5 still run WordPress, and WordPress.org says those versions are end of life.
How to speed up wordpress starts with the files and the work the server repeats. WordPress.org’s optimization guide, last modified 14 October 2026, lists the host, the WordPress setup, software versions, and the number and size of images as things that change how fast a site feels.
The same page says that if you need a quick gain, start with caching. The steps here follow that order: images, plugins, cache, then the PHP and database versions the project recommends. None of them is a guaranteed percentage.
What do you need before you speed up WordPress?
You need a site you can change, a way to upload smaller images, and a host that will tell you the PHP version. On shared hosting, WordPress.org says the host runs the server and you have little control over its settings. Caching, WordPress itself, and where files live are the levers you still have.
You also need a target that is not a vibe. Page speed is the visitor’s wait. The optimization guide points at browser developer tools and at online tests from different places and connection speeds. Use one of those before and after a change so you can see whether that change mattered.
Know which pages are mostly static and which are built fresh every time. The guide says a cache is straightforward for fairly static pages and harder when the page has a lot of dynamic content. A brochure page and a cart are not the same job.
How do you shrink images on a WordPress site?
Make the pictures smaller before they are the heaviest thing on the page. web.dev’s image guide says images often account for most of the downloaded bytes, and that fewer bytes means the browser can show useful content sooner.
WordPress.org’s own list is short. Ask whether each image is necessary. Choose JPG, PNG, or GIF and a compression level that fits that picture.
Consider WebP because it is smaller. Reduce the number of files on an average page, and minify CSS and JavaScript.
Do the image pass in this order:
- Remove images that do not help the page, including ones you could replace with text.
- Resize each picture so the file’s pixel size is close to the size on screen.
- Compress the file in the format you will actually upload.
- Prefer WebP or AVIF when the picture still looks right, which is the preference web.dev states for older raster formats.
- Upload the smaller file to the Media Library and replace the heavy original in the post.
- Recheck the page in the browser’s network panel and confirm the new file is the one that loads.
The Image Compressor compresses an image in the browser before that upload. It does not install a plugin and it does not change your host. MDN’s format guide is the reference for why JPEG is the usual lossy photo format and why PNG is the one to keep when you need transparency or a more exact copy.
web.dev also says to prefer vector art when the graphic is shapes, because vectors stay sharp at different sizes, and to strip metadata you do not need. A logo file is a better SVG than a giant PNG. A photograph is not.
How does caching speed up WordPress?
A cache serves a saved copy so WordPress does not rebuild the page on every request. The optimization guide says caching plugins store posts and pages as static files, and those files are what visitors receive. It says this can improve performance several hundred times over for fairly static pages. That is the project’s wording for that case, not a measurement of your site.
Search the plugin directory for cache if you want a list the project points at. The guide also says a system-level page cache such as Varnish can sit with a plugin, and that dynamic pages make the setup harder. If the page must be different for every logged-in reader, a blunt full-page cache will be wrong or complicated.
Server caching is a separate layer for high traffic. The guide says the simple version is the server caching locally, and that an opcode cache improves PHP. It names OPcache, and older writeups on that page also name APC.
You do not need those names on shared hosting if you cannot install them. You do need the plugin or the host’s cache, and you need to purge it when you change a page and the old copy sticks.
Which PHP and database versions does WordPress recommend?
Run current PHP, a current database, and HTTPS. The requirements page, last modified 7 May 2026, recommends PHP 8.3 or greater, MariaDB 10.11 or greater or MySQL 8.4 or greater, and HTTPS. Apache or Nginx is the web server it points to. Any server that supports PHP and MySQL can run WordPress.
The same page says a legacy site can still use PHP 7.4 or newer and MySQL 5.5.5 or newer. It also says those versions have reached end of life and may expose the site to security vulnerabilities. The optimization guide’s software section matches the direction: run a current PHP, because newer PHP versions usually include better performance, and use InnoDB rather than leaving old MyISAM tables in place.
| Piece | Recommended on the requirements page | Legacy note on that page |
|---|---|---|
| PHP | 8.3 or greater | 7.4 or newer still runs, and is end of life |
| Database | MariaDB 10.11 or greater, or MySQL 8.4 or greater | MySQL 5.5.5 or newer still runs, and is end of life |
| Transport | HTTPS | Not listed as optional |
| Quick cache case | Static pages, via a caching plugin | Dynamic pages need a more careful setup |
On shared hosting, ask the host for the recommended line. The requirements page even gives a short request you can send: PHP 8.3 or greater, MariaDB 10.11 or MySQL 8.4 or greater, Nginx or Apache with the rewrite module, and HTTPS. What WordPress is used for does not change those version numbers.
What else does the optimization guide tell you to turn off?
Turn off work the page does not need. The first item in the guide’s improvement list is plugins. Deactivate and delete the ones you do not use. If one plugin dominates the slowdown, read its docs or replace it.
Do not run DNS on the WordPress server. Use the registrar or a DNS host. Do not run a mail server on it either.
A contact form can use a plugin and an outside mail service. Both moves take load off the machine that answers page requests.
A content delivery network can mirror static files such as images closer to visitors. The guide describes that as a response to distance, not as a substitute for smaller files. Upgrading CPU, memory, or disk at the host is also on the list when the box itself is the limit. Separating the web server and the database onto different machines is described for heavier sites, not as the first step for a small blog.
Keep WordPress updated. The guide lists that next to plugin housekeeping. An update is not a cache, and a cache is not an update.
What should you check when the site is still slow?
Change one thing, then look again. A pile of simultaneous edits makes it impossible to know which one helped.
| What you see | Likely cause | What to try |
|---|---|---|
| The HTML is fast and the pictures are slow | Image files are larger than the layout | Resize and compress, then consider WebP |
| Every visit rebuilds the page | No page cache, or the page is too dynamic to cache | Cache static pages. Do not cache a cart as if it were a brochure |
| The cache shows yesterday’s edit | The saved copy was not purged | Purge the plugin or host cache after you publish |
| One feature dominates the wait | A plugin is doing heavy work | Deactivate plugins one at a time and retest |
| PHP is below the recommended line | The host is on an old version | Ask for PHP 8.3 or greater, and plan a move off 7.4 |
| Logged-in pages stay slow | Full-page cache does not fit personalized HTML | Cache the anonymous page. Leave the logged-in view dynamic |
WordPress.org’s “several hundred times” line is about fairly static pages with a caching plugin. If your pages are built per visitor, expect less drama and a more careful setup. Smaller images help either way, because the browser still has to download them.
Frequently asked questions
Does a caching plugin always make WordPress several hundred times faster?
WordPress.org says caching plugins can improve performance several hundred times over for fairly static pages. That sentence is about pages that do not change on each visit. The same guide says caching is more complex when posts and pages have a lot of dynamic content. Treat the figure as the project's description of a static page, not as a result you can paste onto a shop, a membership site, or a page that builds a new view for every reader.
Which PHP version should the host run?
The WordPress requirements page, last modified 7 May 2026, recommends PHP 8.3 or greater, MariaDB 10.11 or greater or MySQL 8.4 or greater, and HTTPS. It also says WordPress still runs on PHP 7.4 or newer and MySQL 5.5.5 or newer. Those older versions are past their official end of life and may expose the site to security vulnerabilities. Newer PHP is the performance path the optimization guide describes as well.
Should every image become WebP?
WordPress.org says to choose JPG, PNG, or GIF with the right compression, and to consider WebP because it is smaller. web.dev says images often account for most downloaded bytes and tells you to prefer WebP or AVIF when they still look right. Keep PNG when you need lossless edges or transparency. Use JPEG for an ordinary photo. Serve the image at the size the layout actually displays.
Will deleting plugins break the site?
It can, if you delete one the theme still calls. WordPress.org's advice is to deactivate and delete plugins you do not need, and to disable them one at a time if you are looking for a slow one. Deactivate first, check the front of the site, then delete. Read that plugin's own notes if one feature is doing the heavy work. The guide also says keeping WordPress itself updated matters.
Do you have to move DNS and mail off the same server?
The optimization guide says not to run DNS on the WordPress server, and not to run a mail server there either. Use a commercial DNS service or the registrar's offering, and use a contact-form plugin with an external mail service. The point is to take that CPU off the machine that is building pages. On shared hosting you often cannot change this yourself, so ask the host.
Sources
- Optimization · WordPress.org, 2026
- Requirements · WordPress.org, 2026
- Optimize images · web.dev, 2026
- Image file type and format guide · MDN, 2026