Speed is a ranking-adjacent factor and a conversion factor. Search engines use page experience signals as part of a broad assessment, and users leave slow pages. The trouble is that speed advice often arrives as a long list of tweaks with no priority. This guide puts them in order. Fix the foundation first, then the heavy assets, then the scripts, and measure after each step so you know what actually helped.

Measure before you change anything
Test your most important templates, not just the homepage: a post, a category page, a product page, a landing page. Use PageSpeed Insights, which shows lab data and, when available, field data from real users. Note Largest Contentful Paint, Interaction to Next Paint and Cumulative Layout Shift, plus server response time. Record results in a spreadsheet. Test on mobile because that is where problems are largest. Repeat each test a few times, since results vary.
Step 1: the foundation, hosting and PHP
If server response time is slow, no front-end tweak can fully fix it. Check Time to First Byte. Consistently above roughly 600 milliseconds on uncached pages suggests a hosting or application problem. Cheap shared hosting with overcrowded servers is a common cause. Look for hosts with modern stacks, adequate resources, server-level caching and recent PHP versions. Running a supported PHP version is both a security and performance matter; our guide on checking and updating PHP explains how to do it safely. Test plugins on staging first.
Also check the database. Remove unneeded revisions, expired transients and orphaned data carefully, and ensure object caching is available if your host offers it.
Step 2: caching
Page caching serves prebuilt HTML instead of running PHP and database queries for every visit. It is usually the single biggest improvement on dynamic sites. Use your host’s built-in caching if it has one, or a reputable caching plugin. Configure it to exclude pages that must stay dynamic, such as carts, checkouts and account pages. Add browser caching so repeat visitors do not re-download static files. After enabling caching, purge it whenever you change templates, and test logged-out views.
Step 3: images
Images are often the heaviest part of a page.
- Resize images to the largest size they display, not the original camera size.
- Use modern formats such as WebP or AVIF with fallbacks as needed.
- Compress with a sensible quality setting, since small quality reductions are rarely visible.
- Use responsive images so mobile devices load smaller files; WordPress generates srcset automatically for images inserted properly.
- Lazy load images below the fold, but do not lazy load the main hero image, which hurts Largest Contentful Paint.
- Set width and height attributes to avoid layout shift.
- Preload the main hero image if it is the LCP element.
Step 4: fonts
Web fonts can delay text and cause layout shift. Limit families and weights, self-host fonts where licensing allows, use font-display swap, and preload critical font files. System fonts are fastest.
Step 5: CSS and JavaScript
Every plugin and theme may add scripts and styles. Audit what loads on key pages. Remove plugins you do not need. Disable assets on pages that do not use them, for example a contact form script on every page. Minify and combine files where it helps, but test carefully, because aggressive combining can break layouts. Defer non-critical JavaScript, and delay third-party scripts like chat widgets until user interaction when practical. Critical CSS techniques can improve rendering, though they need testing.
Step 6: third-party scripts
Analytics, ad networks, tag managers, embeds and social widgets often hurt performance more than your own code. Keep only what you need. Load videos with a placeholder image and replace it with the player on click. Review tag manager containers regularly.
Step 7: theme and page builders
A heavy theme or builder with many widgets increases markup, CSS and JavaScript. Consider a lightweight theme and trim unused features. If you use a page builder, apply its performance settings and keep layouts simple. See our page builders guide.
Step 8: a CDN
A content delivery network serves static assets from locations close to visitors and can reduce load on your server. It helps most for geographically spread audiences. Configure it with caching rules and make sure it does not block search bots.
Step 9: layout stability
Reserve space for ads, embeds and images. Avoid inserting content above existing content after load. Use consistent dimensions for dynamic elements like cookie banners.
Step 10: responsiveness
Interaction to Next Paint measures how quickly the page reacts to user input. Heavy JavaScript is the usual cause. Reduce long tasks by deferring scripts, simplifying page interactions and removing unneeded plugins.
Verify and monitor
After each change, retest the same pages and compare. Field data in Search Console’s Core Web Vitals report updates over about 28 days, so be patient. Run a site audit to catch regressions. Set a monthly check, and after any major plugin or theme update test again.
Common mistakes
- Installing several caching or optimization plugins that conflict.
- Chasing a perfect lab score while ignoring field data.
- Lazy loading the hero image.
- Compressing images so hard they look poor.
- Ignoring hosting quality.
- Not testing logged-in versus logged-out behavior.
- Forgetting to purge caches, which makes changes look like they failed.
A prioritized checklist
- Measure key templates.
- Fix hosting and PHP issues.
- Enable page and browser caching.
- Optimize and correctly size images.
- Trim scripts and plugins.
- Fix fonts and layout shift.
- Consider a CDN.
- Retest, record and repeat.
Frequently asked questions
Is speed a major ranking factor? It is one signal among many. Relevance and quality matter more, but poor speed hurts users and conversions.
What is a good load time? Aim for good Core Web Vitals thresholds in field data and fast server responses.
Do I need a caching plugin? Not if your host provides good server-level caching.
Will a speed plugin fix everything? No. Hosting, images and scripts need attention.
How often should I test? Monthly and after major changes.




Comments