Core Web Vitals
مؤشرات الويب الأساسية
Definition
Google's three key metrics for user experience quality: Largest Contentful Paint (loading), Interaction to Next Paint (interactivity), and Cumulative Layout Shift (visual stability).
مقاييس Google الثلاثة الرئيسية لجودة تجربة المستخدم: أكبر عرض للمحتوى (التحميل) والتفاعل حتى الطلاء التالي (التفاعلية) وانزياح التخطيط التراكمي (الاستقرار البصري).
Why It Matters
Poor Core Web Vitals hurt SEO ranking, user retention, and brand perception. A glossary page that takes 4 seconds to show content will have a higher bounce rate and lower search visibility. Every 100ms reduction in LCP improves conversion rate measurably.
تُضرّ مؤشرات الويب الأساسية السيئة بترتيب SEO والاحتفاظ بالمستخدمين وتصور العلامة التجارية. صفحة قاموس تستغرق 4 ثوانٍ لعرض المحتوى ستكون لها نسبة ارتداد أعلى ورؤية أقل في البحث. كل تخفيض 100 ميلي ثانية في LCP يُحسّن معدل التحويل بشكل قابل للقياس.
Full Definition
Example Usage
“LCP on 404Fault glossary page: the H1 term title is the LCP element. If the title loads from a Firestore client query (slow), LCP will be poor. Fix: use Next.js `generateStaticParams` to pre-render the top 100 glossary terms as static HTML at build time — LCP becomes sub-500ms because the HTML is already there.”
“LCP في صفحة قاموس 404Fault: عنوان المصطلح H1 هو عنصر LCP. إذا تحمّل العنوان من استعلام عميل Firestore (بطيء)، سيكون LCP سيئاً. الإصلاح: استخدم Next.js `generateStaticParams` لعرض أفضل 100 مصطلح قاموس مسبقاً كـ HTML ثابت وقت البناء — يصبح LCP أقل من 500 ميلي ثانية لأن HTML موجود بالفعل.”
AI Builder Tips
Avoid these mistakes when using Core Web Vitals:
Measuring Web Vitals only in development — dev mode is slower; always measure production builds using Chrome DevTools Lighthouse or PageSpeed Insights
Ignoring CLS — layout shifts happen when fonts, images without dimensions, or async-loaded content push existing content down; always reserve space
Not measuring real user data — lab data (Lighthouse) differs from field data (real users on mobile); use Google Search Console for field CWV data
Sign in to unlock guided AI explanations from AI Teacher.
Generate a Prompt
Copy this prompt and use it directly with any AI model — no setup needed.
Help me build a project using Core Web Vitals. Explain: 1. What is Core Web Vitals and why it matters 2. The core architecture and required tools 3. Step-by-step implementation plan 4. Common mistakes to avoid: Measuring Web Vitals only in development — dev mode is slower; always measure production builds using Chrome DevTools Lighthouse or PageSpeed Insights, Ignoring CLS — layout shifts happen when fonts, images without dimensions, or async-loaded content push existing content down; always reserve space, Not measuring real user data — lab data (Lighthouse) differs from field data (real users on mobile); use Google Search Console for field CWV data 5. Best practices and production tips