Google's Core Web Vitals are now a confirmed ranking signal, and the data on their conversion impact is unambiguous: a 1-second improvement in page load time increases conversions by 2–7%, depending on your industry. For a £10M e-commerce site, that's potentially £700K in annual revenue from engineering work alone. Here's how we approach performance systematically.
The Three Core Web Vitals
- <strong>LCP (Largest Contentful Paint) — target: < 2.5s.</strong> How long until the main content is visible? Usually your hero image or headline.
- <strong>INP (Interaction to Next Paint) — target: < 200ms.</strong> How fast does the page respond to user interactions? Replaced FID in 2024.
- <strong>CLS (Cumulative Layout Shift) — target: < 0.1.</strong> Do elements jump around as the page loads? Caused by images without dimensions, dynamically injected content.
LCP Optimisation Techniques
<!-- 1. Preload your LCP image -->
<link rel="preload" as="image" href="/hero.webp" fetchpriority="high">
<!-- 2. Use fetchpriority on the img element -->
<img src="/hero.webp" alt="Hero" fetchpriority="high" width="1200" height="600">
<!-- 3. Serve modern formats -->
<picture>
<source srcset="/hero.avif" type="image/avif">
<source srcset="/hero.webp" type="image/webp">
<img src="/hero.jpg" alt="Hero" width="1200" height="600">
</picture>
JavaScript Optimisation
JavaScript is the single biggest performance lever on most sites. Key tactics: (1) Code split aggressively — no bundle over 100KB uncompressed. (2) Defer non-critical scripts. (3) Remove unused dependencies (use bundle-buddy or webpack-bundle-analyzer). (4) Use dynamic imports for heavy libraries (chart libraries, rich text editors). (5) Move computation off the main thread with Web Workers for anything over 50ms.
The Image Checklist
- Serve WebP or AVIF (40–70% smaller than JPEG at same quality).
- Always set explicit width and height to prevent CLS.
- Use loading="lazy" on all below-the-fold images.
- Serve responsive images with srcset and sizes attributes.
- Use a CDN with image transformation (Cloudflare Images, Cloudinary, or imgix).
After applying these optimisations to a UK fashion e-commerce client, LCP improved from 4.8s to 1.6s, INP from 380ms to 140ms, and CLS from 0.24 to 0.03. Organic traffic increased 34% over the following 3 months, and conversion rate improved by 5.8%.
Got a project in mind?
I work directly with founders and CTOs to build reliable, scalable software. Let's have a conversation about your goals.
Teklif Al