A fast website starts with measurement. Test important pages on mobile and desktop, identify the largest bottleneck, make one change at a time, and test again. The tools and recommendations below are a starting point for WordPress sites and other websites.
Measure real-world experience and run tests
- PageSpeed Insights combines lab diagnostics with real-user Chrome UX Report data when enough data is available. Check both mobile and desktop, and repeat lab tests to account for variation.
- WebPageTest offers detailed waterfall and browser tests from different locations. Availability and test limits may vary.
- Pingdom Website Speed Test provides another view of load time and requests.
- Chrome DevTools Performance panel helps investigate rendering, JavaScript, and other work in the browser.
Pay particular attention to Core Web Vitals: Largest Contentful Paint (LCP), Interaction to Next Paint (INP), and Cumulative Layout Shift (CLS). Google’s good thresholds are LCP of 2.5 seconds or less, INP of 200 milliseconds or less, and CLS of 0.1 or less, measured at the 75th percentile of real visits for mobile and desktop separately. Lab tests are useful for diagnosis but do not replace real-user data.
Find WordPress bottlenecks
Query Monitor can help identify slow database queries, hooks, and other issues. For deeper application monitoring, consider New Relic. Review plugins and themes you no longer need, and follow the WordPress performance guide to investigate the actual cause of slow pages before adding optimization plugins.
Optimize images and page assets
Serve images at appropriate dimensions and compress them; use modern formats such as WebP or AVIF where supported. Specify image dimensions to reserve space and prevent layout shifts. Lazy-load images below the fold, but avoid lazy-loading the main image likely to be the LCP element. Reduce unnecessary JavaScript and third-party scripts, and consider minification when testing shows it helps. Check the site after changing asset settings.
WordPress options include Autoptimize for asset optimization and Smush or EWWW Image Optimizer for images. Choose tools that fit your hosting and avoid enabling overlapping features in multiple plugins.
Cache and use a CDN
Page caching can reduce server work for repeat requests. Your host may already provide it; otherwise, options include WP Super Cache, W3 Total Cache, and WP Rocket. Configure exclusions for personalized content, including logged-in users and cart or checkout pages, where appropriate, and verify that visitors see the correct content.
A content delivery network (CDN) can serve cached assets closer to visitors. Examples include Cloudflare and Amazon CloudFront. Test whether a CDN helps your audience and setup.
Test under load
To explore how a site behaves with concurrent traffic, consider k6, loader.io, or Apache’s ab benchmarking tool. Run load tests only against systems you control or have permission to test, coordinate with your host, and start with a small load. A staging environment is a useful place to begin.
Make a backup before significant plugin, database, or cache changes, and verify important functions after each change.
Leave a Reply