惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Latest news
Latest news
T
Troy Hunt's Blog
V
Vulnerabilities – Threatpost
L
LINUX DO - 热门话题
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Simon Willison's Weblog
Simon Willison's Weblog
V
V2EX
博客园 - 司徒正美
B
Blog RSS Feed
AWS News Blog
AWS News Blog
MyScale Blog
MyScale Blog
Scott Helme
Scott Helme
Cisco Talos Blog
Cisco Talos Blog
Last Week in AI
Last Week in AI
NISL@THU
NISL@THU
博客园 - Franky
P
Proofpoint News Feed
博客园_首页
C
CERT Recently Published Vulnerability Notes
雷峰网
雷峰网
S
Schneier on Security
P
Proofpoint News Feed
Hugging Face - Blog
Hugging Face - Blog
G
GRAHAM CLULEY
博客园 - 三生石上(FineUI控件)
月光博客
月光博客
WordPress大学
WordPress大学
The Hacker News
The Hacker News
T
Threatpost
阮一峰的网络日志
阮一峰的网络日志
A
Arctic Wolf
Microsoft Azure Blog
Microsoft Azure Blog
T
The Exploit Database - CXSecurity.com
Engineering at Meta
Engineering at Meta
罗磊的独立博客
T
The Blog of Author Tim Ferriss
D
Darknet – Hacking Tools, Hacker News & Cyber Security
I
Intezer
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
K
Kaspersky official blog
SecWiki News
SecWiki News
云风的 BLOG
云风的 BLOG
美团技术团队
C
Cybersecurity and Infrastructure Security Agency CISA
博客园 - 【当耐特】
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Security Latest
Security Latest
C
Cyber Attacks, Cyber Crime and Cyber Security
B
Blog
S
Security Affairs

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
Core Web Vitals for Your Store: LCP, INP, and CLS Explained
Jakub Paśnik · 2026-06-24 · via DEV Community

Core Web Vitals are three numbers Google uses to judge how your store feels to a real customer. They measure how fast a page loads, how quickly it reacts to a tap, and whether the layout stays put instead of jumping around. It sounds technical, but the point is simple: a customer who waits too long, or taps a button that just slid down the page, closes the tab. In this article I break each of the three metrics down to its parts, point you to free measurement tools, and list the bottlenecks I keep catching in store after store during audits.

I write from the perspective of someone who checks these metrics on live stores, not on slides. So expect fewer dictionary definitions and more of what actually tanks the score, plus what you can do about it.

What Core Web Vitals are, and why your store should care

Core Web Vitals are a set of three measurable user-experience metrics that Google treats as one of its page-ranking signals. They don't replace content or links, but when two results are close in quality, they can tip the scale. In a store the stakes are higher than on a blog, because a product page is where heavy images, a handful of marketing scripts, and a cart that has to work from the first second all collide.

The three of them measure three different things: LCP (how fast I see the most important thing on screen), INP (how fast the page reacts when I tap it), and CLS (whether the layout sits still or jumps). Google publishes a "good" threshold for each, so you don't have to guess. Usually one metric drags the others down, most often because of unoptimized images or a pile of third-party scripts. It's better to first figure out which of the three is in the red and start there. Core Web Vitals also evolve over time, since Google swaps out the measured parameters every so often.

Metric What it measures Good (per Google)
LCP (Largest Contentful Paint) How fast the largest visible element appears <= 2.5 s
INP (Interaction to Next Paint) How fast the page responds to interaction <= 200 ms
CLS (Cumulative Layout Shift) How stable the layout stays while loading <= 0.1

Note: FID (First Input Delay) was retired in March 2024 and replaced by INP, so any guide still treating FID as current is out of date.

LCP: how fast the customer sees what matters most

LCP (Largest Contentful Paint) measures the time it takes for the largest visible element to appear on screen. On a product page that's usually the main image or a large heading. Google considers the result good when LCP comes in under 2.5 seconds. Above that line, some people bounce straight back to the search results.

LCP usually breaks because of:

  • A heavy hero image (a full-resolution file dropped straight off the camera, several megabytes).
  • No modern image formats (older formats are heavier than WebP or AVIF at the same quality).
  • A slow server or overloaded hosting (no amount of image optimization makes up for it).
  • Rendering blocked by scripts.

What to do: compress your product images and serve them at the size they actually display, switch to a modern format, and load the main image with priority. That's usually the first move when LCP is red, because it delivers the fastest result at the lowest risk. One caveat: sometimes the largest element isn't an image but a block of text or a heading injected by a script. Check which element the tool flags as the LCP first, then pick your fix.

INP: how fast the page reacts to a tap (and why FID no longer exists)

INP (Interaction to Next Paint) measures the time between a user action (say, tapping "Add to cart") and the moment the browser shows the result. Google considers anything under 200 milliseconds good. Above that, the customer taps, nothing happens, they tap again, and the store feels frozen.

Important: INP replaced the earlier FID (First Input Delay) metric, which Google retired in March 2024. If you're reading a guide where someone still describes FID as a current parameter, that's a sign the material is outdated. INP is what counts today, because it measures the response to every interaction, not just the first one.

INP gets wrecked by:

  • Too many third-party scripts (ad pixels, chat widgets, analytics, and review widgets all fight over the same browser thread).
  • Heavy theme and plugin scripts.
  • Everything loaded right at startup.

The biggest win comes from reviewing your third-party scripts: which ones you actually need, which can load with a delay, and which just sit there doing nothing. The catch: INP takes its hardest hit on phones, because a smartphone's processor is weaker while the store serves both devices the same heavy code. Test INP on mobile first.

CLS: does the layout sit still, or jump under your hand

CLS (Cumulative Layout Shift) measures layout stability, meaning how much elements move around while the page loads. Google considers a result good below 0.1. The classic scene: you go to tap "Buy now," a banner loads in, the button slides down, and you tap something else.

Where the jumpy layout comes from:

  • Images and ad frames with no space reserved (the browser doesn't know the dimensions, draws the text, then shoves the layout aside once the graphic loads).
  • Fonts that load with a delay (the swap changes the height of blocks).
  • Banners, consent bars, and notifications that pop in above the content.

The recipe: reserve space for images and frames by specifying dimensions, keep font loading stable, and don't let elements pop in above the content. Watch the cookie consent banner, free-shipping bars, and newsletter pop-ups, since any element that appears after the page starts is a suspect.

How to measure Core Web Vitals for free and read the results correctly

You don't need paid tools. Google gives you the full set for free:

  • PageSpeed Insights (enter a URL, get mobile and desktop scores plus recommendations, the fastest way to start).
  • The CrUX report (Chrome User Experience Report, data from real Chrome users, this is field data).
  • Google Search Console (a separate Core Web Vitals report that groups URLs by good / needs improvement / poor and shows the problem across whole page types at once).

Field data vs. lab data

Field data comes from real users, on their own devices and connections. That's what counts toward your page assessment. Lab data is a single measurement under controlled conditions, good for diagnosis, because it instantly shows what to fix and you see the effect of a change right away. I combine the two: lab data to find the cause, field data to confirm the change actually reached customers. A new store with little traffic may not have field data yet, which leaves you with lab data. Measure the same URL several times, at different hours, because lab results fluctuate. Only a repeatable pattern tells the truth.

The most common performance bottlenecks in stores

The list of culprits is surprisingly repetitive, no matter the industry:

  • Unoptimized product images (the most common bottleneck, files several times larger than their display size, hitting both LCP and CLS).
  • No modern image formats.
  • Too many third-party scripts (ads, analytics, chat, widgets, maps, all a risk to INP).
  • A shifting layout.
  • A heavy theme and too many plugins.

These are problems you can fix without rebuilding the whole store: compress and convert images, review your scripts, reserve space for elements.

Different platforms have their own typical weak spots. On self-hosted open-source setups (WooCommerce, PrestaShop, or Magento, for example) the server and plugin overload take the hit. On hosted SaaS platforms (Shopify, for example) you can't touch the engine, so you work with images, apps, and the scripts glued onto the template. Same mechanism, the mess just moves to a different place.

What performance has to do with conversion and Google rankings

Core Web Vitals connect sales and visibility. Sales: a slow, laggy, or jumpy page discourages the customer before checkout, and the cart gets abandoned. An unstable interface piles on quietly, with frustration building on every tap into a dead button. Visibility: Google uses Core Web Vitals as one of its signals. It's not a switch that lifts you to first place (content and relevance weigh more), but when two results are close, the better experience tips the balance. Technical fixes pay off faster than classic SEO, where you wait months for ranking movement. Performance isn't a one-time job, because every banner, plugin, and pixel makes the score worse. Treat Core Web Vitals as a parameter you check on a cycle, especially after a bigger change (a new template, a campaign with pixels, a fresh plugin).

Where to start

Remember the order. First, measure in PageSpeed Insights and Search Console. Figure out which metric is in the red, and only then go after the causes, starting with images and third-party scripts. The rest is cleanup, one thing at a time.

If you'd rather have someone do this for you, [I run these performance and compliance audits on live stores at Viromo](), where the score gets paired with a concrete fix list.


Author's note: I audit live online stores for performance, UX, and legal compliance. This article first appeared, in Polish, on the Viromo blog.