Skip to content
10% off any project with promo code10% off with code

PageSpeed Insights 90+: How to Get There on OpenCart / WordPress

Contents
  1. The steps, most important first
  2. 1. TTFB — server response time (the biggest lever)
  3. 2. LCP — the largest contentful element
  4. 3. Render-blocking resources
  5. 4. Images — WebP and lazy loading
  6. 5. Unused CSS/JS
  7. Real-world results
Published
Reading time
~2 min
Views
118
Reader rating
10 reviews
Author
Yevhen Fostenko
Senior Backend & DevOps Engineer
PageSpeed Insights 90+: How to Get There on OpenCart / WordPress Article
Need help with your website?
Describe the task on Telegram — I will assess it and suggest where to start. Reply within a day.
Message on Telegram
Free consultation and estimate. I reply quickly.

PageSpeed 90+ is a genuinely achievable target for any PHP site. Here is a step-by-step plan, ordered from the biggest impact down to the details.

The steps, most important first

1. TTFB — server response time (the biggest lever)

Target: TTFB under 200 ms. What it takes:

  • a Redis cache for OpenCart/WordPress
  • Nginx FastCGI cache or Varnish for static pages
  • the Cloudflare CDN — caching at the edge

2. LCP — the largest contentful element

Usually the hero image. The fix:

<link rel="preload" href="hero.webp" as="image" fetchpriority="high">
<img src="hero.webp" loading="eager" fetchpriority="high">

3. Render-blocking resources

<!-- Instead of: -->
<script src="app.js"></script>
<!-- Use: -->
<script src="app.js" defer></script>

4. Images — WebP and lazy loading

Convert every image to WebP (2–3× smaller). In Nginx:

map $http_accept $webp_suffix {
  "~*webp" ".webp";
}

5. Unused CSS/JS

Use the Chrome Coverage tab to find unused CSS and JS. PurgeCSS works well for WordPress themes.

Real-world results

OpenCart with Redis + Nginx cache + WebP: Mobile 85–92, Desktop 96–99.
WordPress with LiteSpeed Cache + WebP: Mobile 88–93, Desktop 95–98.

Need this optimisation? PageSpeed 90+ for your site.

Tags: pagespeedspeedcore web vitalsopencartwordpress
Need help with your website?
Describe the task on Telegram — I will assess it and suggest where to start. Reply within a day.
Message on Telegram
Free consultation and estimate. I reply quickly.

Related Articles

Optimising OpenCart: From 4 Seconds to 400 ms Article

Optimising OpenCart: From 4 Seconds to 400 ms

A slow OpenCart is one of the most common problems store owners run into. This walkthrough covers the process from analysis to result. Step 1: read the slow…

02/06/2026 189

Reader reviews

5.0
Write a review