Audit Speed

作者 calm-northc1f633bea512无许可证21 个星标收录于 2026年10月8日更新于 2026年10月8日仓库7个月前更新

Deep Core Web Vitals and page speed audit. Use when the user asks about page speed, Core Web Vitals, LCP, CLS, INP, FCP, TTFB, Lighthouse scores, why a page is slow, performance optimization, or resource size analysis. For broader technical SEO issues, see diagnose-seo.

AI 生成的概览

审计 Core Web Vitals 与页面速度,诊断根本原因并给出资源优化建议。

功能
提供针对 Core Web Vitals(LCP、CLS、INP、FCP、TTFB)的结构化审计流程,包含阈值表和根因决策树。它指导诊断服务器、图片、字体、渲染阻塞、布局偏移和主线程问题,并包含带基准值的资源体积拆解。最终产出格式化的审计报告,含指标评级、根本原因、优先修复项和快速见效项。
适用场景
适用于用户询问页面速度、Core Web Vitals、LCP、CLS、INP、FCP、TTFB 或 Lighthouse 分数,或想了解页面为何缓慢时。也适合资源体积分析和性能优化规划。
运行要求
仅为说明文档,不附带脚本。最好已有 Lighthouse 或 PageSpeed Insights 数据,以及目标页面、技术栈和限制条件等背景信息;若无数据,它会建议运行 Google PageSpeed Insights。

Audit Speed

Deep Core Web Vitals audit with root-cause analysis trees and resource optimization recommendations.

Core Web Vitals Thresholds

MetricGoodNeeds ImprovementPoor
LCP (Largest Contentful Paint)< 2.5s2.5s - 4.0s> 4.0s
CLS (Cumulative Layout Shift)< 0.10.1 - 0.25> 0.25
INP (Interaction to Next Paint)< 200ms200ms - 500ms> 500ms
FCP (First Contentful Paint)< 1.8s1.8s - 3.0s> 3.0s
TTFB (Time to First Byte)< 800ms800ms - 1800ms> 1800ms

Before You Start

Gather this context:

  1. Which pages? Homepage, key landing pages, or specific slow pages.
  2. Current scores. If the user has Lighthouse or PageSpeed Insights data, start there.
  3. Tech stack. CMS, framework, hosting — this determines which optimizations are available.
  4. Known constraints. Third-party scripts they can't remove, design requirements that limit optimization.

If no data is available, suggest running Google PageSpeed Insights on the key URLs.

LCP Root-Cause Tree

LCP measures when the largest visible element finishes rendering. Diagnose:

Is TTFB slow (> 800ms)?

  • → Server response time issue
  • Check: hosting quality, CDN configuration, database queries, server-side rendering time
  • Fix: upgrade hosting, add CDN, optimize server-side code, enable caching

Is the LCP element an image?

  • → Image optimization issue
  • Check: image format (use WebP/AVIF), image size (serve responsive sizes), lazy loading on LCP image (should NOT be lazy loaded)
  • Fix: convert to modern formats, add width/height attributes, use fetchpriority="high" on LCP image, preload the LCP image

Is the LCP element text?

  • → Font loading issue
  • Check: custom fonts blocking render, font file size, font-display strategy
  • Fix: use font-display: swap or optional, preload critical fonts, subset fonts to used characters

Is render-blocking CSS/JS delaying the LCP?

  • Check: large CSS files in <head>, synchronous JS before content
  • Fix: inline critical CSS, defer non-critical CSS, async/defer JS

CLS Root-Cause Tree

CLS measures unexpected layout shifts. Diagnose:

Do images/videos lack dimensions?

  • → Browser can't reserve space before loading
  • Fix: add width and height attributes to all <img> and <video> elements, use CSS aspect-ratio

Do ads or embeds inject content?

  • → Dynamic content pushing existing content down
  • Fix: reserve space for ad slots with min-height, use contain-intrinsic-size for lazy content

Do fonts cause text reflow?

  • → FOUT (Flash of Unstyled Text) causes layout shift when custom font loads
  • Fix: use font-display: optional (no swap = no shift), or match fallback font metrics

Does dynamic content insert above the fold?

  • → Banners, cookie notices, notifications pushing content
  • Fix: use overlays instead of inline insertions, or reserve space with fixed-height containers

INP Root-Cause Tree

INP measures responsiveness to user interactions. Diagnose:

Is the main thread blocked by long tasks?

  • Check: JavaScript execution time, third-party scripts, large DOM
  • Fix: break long tasks with requestIdleCallback or setTimeout, code-split heavy modules

Do event handlers do heavy synchronous work?

  • Check: click handlers that trigger large DOM updates, form validation on every keystroke
  • Fix: debounce inputs, use requestAnimationFrame for visual updates, offload work to web workers

Are third-party scripts competing for the main thread?

  • Check: analytics, chat widgets, A/B testing tools, social embeds
  • Fix: defer loading until after interaction, use loading="lazy" for embeds, consider removing low-value scripts

Resource Analysis

Break down the total page weight:

Resource TypeSizeAssessmentAction
HTML[x] KB[ok/large]Compress, reduce inline styles/scripts
CSS[x] KB[ok/large]Remove unused CSS, minify, critical CSS extraction
JavaScript[x] KB[ok/large]Code-split, tree-shake, defer non-critical
Images[x] KB[ok/large]Modern formats, responsive sizes, lazy load below fold
Fonts[x] KB[ok/large]Subset, limit families/weights, preload critical
Third-party[x] KB[ok/large]Audit necessity, defer, self-host if possible

Benchmarks:

  • Total page weight under 1.5 MB is good
  • JavaScript under 300 KB (compressed) for most sites
  • CSS under 100 KB (compressed)
  • First-party fonts under 100 KB

Output Format

Speed Audit: [URL or domain]

Core Web Vitals

MetricValueRatingRoot Cause
LCP[value]Good / Needs Improvement / Poor[identified cause]
CLS[value]......
INP[value]......
FCP[value]......
TTFB[value]......

Resource Breakdown [Table from Resource Analysis]

Priority Fixes

For each failing metric, ordered by impact:

  1. [Metric]: [Root cause]

    • Current: [value]
    • Target: [threshold]
    • Fix: [specific action]
    • Estimated impact: [high/medium/low]
  2. ...

Quick Wins List optimizations that require minimal effort:

  • Add width/height to images
  • Set fetchpriority="high" on LCP image
  • Defer non-critical JavaScript
  • ...

Pro Tip: Use the free CWV Impact Calculator to estimate the traffic impact of fixing Core Web Vitals, and the Critical CSS Generator to extract above-the-fold CSS. SEOJuice MCP users can run /seojuice:page-audit [domain] [url] for instant CWV scores, Lighthouse data, and resource breakdowns.

来源与署名

来源:calm-north/seojuice-skills位于skills/audit-speed提交c1f633b

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架

更多来自 calm-north/seojuice-skills 的技能

Target Serp

calm-north

指导 SEO 争夺精选摘要、People Also Ask 和富媒体搜索结果等 SERP 特性。

Marketing & Sales217个月前更新

Recover Content

calm-north

诊断现有页面的搜索流量下滑,并给出内容更新、合并、重定向或下线的处置建议。

Marketing & Sales217个月前更新

Rank Local

calm-north

Build a local SEO strategy covering Google Business Profile, local citations, reviews, and NAP consistency. Use when the user asks about local SEO, Google Business Profile, Google Maps ranking, local pack, NAP consistency, local citations, review strategy, or ranking for "[service] near me" searches.

待分类217个月前更新

Optimize For Ai

calm-north

Optimize content for AI search engines — ChatGPT, Perplexity, Claude, Gemini, Google AI Overviews. Use when the user asks about AI SEO, AISO, getting cited by AI, appearing in AI answers, answer engine optimization, AEO, GEO, LLMO, AI Overviews, zero-click search, or how to appear in ChatGPT/Perplexity results. For traditional SEO, see diagnose-seo.

待分类217个月前更新

Migrate Site

calm-north

指导网站迁移,提供审计、重定向映射、监控与回滚标准,以保护搜索排名。

Marketing & Sales217个月前更新

Fix Linking

calm-north

Design or audit internal link structure for a website. Use when the user asks about internal linking, link architecture, orphan pages, PageRank flow, anchor text, site structure, silo architecture, or why pages aren't ranking despite good content. For external link building, see build-links.

待分类217个月前更新