Skip to content
ARGBE.TECH

Article in English · Deutsch

, 3 min readBy argbe.tech

Website Speed Optimization: Core Web Vitals, Tools, and Common Fixes

An older article from 30 November 2022, kept online for reference. For current work on this topic, see Software development.

Updated 2026-10-18: this article now uses Interaction to Next Paint (INP), which replaced First Input Delay as a Core Web Vital in March 2024 (web.dev announcement). Earlier versions promised optimization results from client sites and cited speed statistics we couldn’t trace to their original studies; both are removed.

Why Website Speed Is a Business Metric

Speed affects whether people stay long enough to buy, and it can be tested like any other change. One published example: Vodafone ran an A/B test on a landing page with paid traffic split between an optimized and a baseline version that were otherwise identical; the version with a 31% better LCP produced 8% more sales (web.dev: Vodafone case study, 2021, accessed 2026-10-18). That’s one company’s result, not a rule; measure your own.

On rankings, Google describes Core Web Vitals as part of page experience, which “aligns with what our core ranking systems seek to reward,” and recommends good scores without promising a ranking effect (Google: Core Web Vitals and Search, accessed 2026-10-18).

Core Web Vitals Explained

Google measures three metrics, assessed at the 75th percentile of real page loads, separately for mobile and desktop (web.dev: Web Vitals, accessed 2026-10-18):

MetricWhat It MeasuresGoodNeeds ImprovementPoor
LCP (Largest Contentful Paint)Time to render the main content≤ 2.5 s2.5–4.0 s> 4.0 s
INP (Interaction to Next Paint)Responsiveness to clicks, taps, keys≤ 200 ms200–500 ms> 500 ms
CLS (Cumulative Layout Shift)Visual stability (no jumping)≤ 0.10.1–0.25> 0.25

Each metric links to its web.dev definition and thresholds (accessed 2026-10-18).

Field data decides, lab data diagnoses. Search Console’s Core Web Vitals report uses real-user data from Chrome (Search Console Help: Core Web Vitals report, accessed 2026-10-18). Lab tools like Lighthouse are for finding the cause, not for proving the result.

Tools for Measuring Performance

Lab testing tools

ToolBest ForLimitations
LighthouseQuick audits, specific recommendationsSimulated conditions, not real users
WebPageTestDetailed waterfall analysis, multiple locationsRequires interpretation, steep learning curve
GTmetrixVisual comparisons, historical trackingFree tier is limited
Chrome DevToolsReal-time debugging, network throttlingManual, not automated

Real-user monitoring (RUM)

ToolBest For
Google Search ConsoleFree Core Web Vitals data (what Google sees)
Vercel Speed InsightsReal-user data for Vercel-hosted sites
Cloudflare Web AnalyticsPrivacy-focused RUM
SpeedCurveRUM with competitor benchmarking

Check current pricing on each vendor’s site; it changes.

Common Performance Problems and Fixes

Slow LCP (Largest Contentful Paint)

Causes:

  • Unoptimized hero images
  • Slow server response time (TTFB)
  • Render-blocking CSS or JavaScript

Fixes:

  • Serve modern formats (WebP, AVIF) through a <picture> element or CDN conversion
  • Preload the LCP image: <link rel="preload" as="image" href="hero.webp">
  • Load the hero image eagerly (loading="eager") and below-the-fold images lazily (loading="lazy")

High CLS (Layout Shift)

Causes:

  • Images without dimensions
  • Ads and embeds that load late
  • Web fonts swapping in with different metrics

Fixes:

  • Always set width and height on images and videos
  • Reserve space for ads with CSS aspect-ratio or min-height
  • Use font-display: swap with preloaded fonts and matched fallback metrics

Slow INP (Interaction to Next Paint)

Causes:

  • Long JavaScript tasks blocking the main thread
  • Heavy hydration of components that don’t need to be interactive
  • Third-party scripts (analytics, chat widgets)

Fixes:

  • Split long tasks and defer non-critical scripts (async, defer)
  • Hydrate only the components that need interactivity
  • Audit third-party scripts; remove or delay the ones that don’t earn their cost

Performance by Framework

Defaults matter, but every framework can be fast or slow depending on what you ship.

FrameworkDefault behaviorKey optimization
AstroRenders components to HTML without client JavaScript unless you add an island (Astro: islands)Keep islands few and small
Next.jsPrerendering or per-request rendering, depending on the route and its dataUse next/image; cache what can be cached
WordPressDepends heavily on theme and pluginsPage caching, a CDN, and plugin audits
ShopifyDepends on the theme and installed appsAudit app scripts; optimize theme images

Next Steps

  • Check your field data in Search Console first, then use lab tools to find the cause.
  • Fix one bottleneck at a time and confirm the change in field data over a full window.
  • For the indexing and measurement side, see Technical SEO for Developers.

If your site runs on WordPress and you want this work done, see WordPress development.

Post tags

  • astro
  • tailwind css
  • front-end
  • website-optimization
  • website
  • ssr
  • optimization
  • best-practice
ShareXLinkedIn