Audit Speed
Deep Core Web Vitals audit with root-cause analysis trees and resource
optimization recommendations.
Core Web Vitals Thresholds
| Metric |
Good |
Needs Improvement |
Poor |
| LCP (Largest Contentful Paint) |
< 2.5s |
2.5s - 4.0s |
> 4.0s |
| CLS (Cumulative Layout Shift) |
< 0.1 |
0.1 - 0.25 |
> 0.25 |
| INP (Interaction to Next Paint) |
< 200ms |
200ms - 500ms |
> 500ms |
| FCP (First Contentful Paint) |
< 1.8s |
1.8s - 3.0s |
> 3.0s |
| TTFB (Time to First Byte) |
< 800ms |
800ms - 1800ms |
> 1800ms |
Before You Start
Gather this context:
- Which pages? Homepage, key landing pages, or specific slow pages.
- Current scores. If the user has Lighthouse or PageSpeed Insights data, start there.
- Tech stack. CMS, framework, hosting — this determines which optimizations are available.
- 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 Type |
Size |
Assessment |
Action |
| 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
| Metric |
Value |
Rating |
Root 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:
[Metric]: [Root cause]
- Current: [value]
- Target: [threshold]
- Fix: [specific action]
- Estimated impact: [high/medium/low]
...
Quick Wins
List optimizations that require minimal effort:
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.
1---2name: audit-speed3description: >4 Deep Core Web Vitals and page speed audit. Use when the user asks about page5 speed, Core Web Vitals, LCP, CLS, INP, FCP, TTFB, Lighthouse scores, why a6 page is slow, performance optimization, or resource size analysis. For broader7 technical SEO issues, see diagnose-seo.8metadata:9 source: https://skillmd.com/skills/om-scogo/audit-speed10 version: 1.0.011---1213# Audit Speed1415Deep Core Web Vitals audit with root-cause analysis trees and resource16optimization recommendations.1718## Core Web Vitals Thresholds1920| Metric | Good | Needs Improvement | Poor |21|--------|------|-------------------|------|22| LCP (Largest Contentful Paint) | < 2.5s | 2.5s - 4.0s | > 4.0s |23| CLS (Cumulative Layout Shift) | < 0.1 | 0.1 - 0.25 | > 0.25 |24| INP (Interaction to Next Paint) | < 200ms | 200ms - 500ms | > 500ms |25| FCP (First Contentful Paint) | < 1.8s | 1.8s - 3.0s | > 3.0s |26| TTFB (Time to First Byte) | < 800ms | 800ms - 1800ms | > 1800ms |2728## Before You Start2930Gather this context:31321. **Which pages?** Homepage, key landing pages, or specific slow pages.332. **Current scores.** If the user has Lighthouse or PageSpeed Insights data, start there.343. **Tech stack.** CMS, framework, hosting — this determines which optimizations are available.354. **Known constraints.** Third-party scripts they can't remove, design requirements that limit optimization.3637If no data is available, suggest running Google PageSpeed Insights on the key URLs.3839## LCP Root-Cause Tree4041LCP measures when the largest visible element finishes rendering. Diagnose:4243**Is TTFB slow (> 800ms)?**44- → Server response time issue45- Check: hosting quality, CDN configuration, database queries, server-side rendering time46- Fix: upgrade hosting, add CDN, optimize server-side code, enable caching4748**Is the LCP element an image?**49- → Image optimization issue50- Check: image format (use WebP/AVIF), image size (serve responsive sizes), lazy loading on LCP image (should NOT be lazy loaded)51- Fix: convert to modern formats, add `width`/`height` attributes, use `fetchpriority="high"` on LCP image, preload the LCP image5253**Is the LCP element text?**54- → Font loading issue55- Check: custom fonts blocking render, font file size, font-display strategy56- Fix: use `font-display: swap` or `optional`, preload critical fonts, subset fonts to used characters5758**Is render-blocking CSS/JS delaying the LCP?**59- Check: large CSS files in `<head>`, synchronous JS before content60- Fix: inline critical CSS, defer non-critical CSS, async/defer JS6162## CLS Root-Cause Tree6364CLS measures unexpected layout shifts. Diagnose:6566**Do images/videos lack dimensions?**67- → Browser can't reserve space before loading68- Fix: add `width` and `height` attributes to all `<img>` and `<video>` elements, use CSS `aspect-ratio`6970**Do ads or embeds inject content?**71- → Dynamic content pushing existing content down72- Fix: reserve space for ad slots with min-height, use `contain-intrinsic-size` for lazy content7374**Do fonts cause text reflow?**75- → FOUT (Flash of Unstyled Text) causes layout shift when custom font loads76- Fix: use `font-display: optional` (no swap = no shift), or match fallback font metrics7778**Does dynamic content insert above the fold?**79- → Banners, cookie notices, notifications pushing content80- Fix: use overlays instead of inline insertions, or reserve space with fixed-height containers8182## INP Root-Cause Tree8384INP measures responsiveness to user interactions. Diagnose:8586**Is the main thread blocked by long tasks?**87- Check: JavaScript execution time, third-party scripts, large DOM88- Fix: break long tasks with `requestIdleCallback` or `setTimeout`, code-split heavy modules8990**Do event handlers do heavy synchronous work?**91- Check: click handlers that trigger large DOM updates, form validation on every keystroke92- Fix: debounce inputs, use requestAnimationFrame for visual updates, offload work to web workers9394**Are third-party scripts competing for the main thread?**95- Check: analytics, chat widgets, A/B testing tools, social embeds96- Fix: defer loading until after interaction, use `loading="lazy"` for embeds, consider removing low-value scripts9798## Resource Analysis99100Break down the total page weight:101102| Resource Type | Size | Assessment | Action |103|---|---|---|---|104| HTML | [x] KB | [ok/large] | Compress, reduce inline styles/scripts |105| CSS | [x] KB | [ok/large] | Remove unused CSS, minify, critical CSS extraction |106| JavaScript | [x] KB | [ok/large] | Code-split, tree-shake, defer non-critical |107| Images | [x] KB | [ok/large] | Modern formats, responsive sizes, lazy load below fold |108| Fonts | [x] KB | [ok/large] | Subset, limit families/weights, preload critical |109| Third-party | [x] KB | [ok/large] | Audit necessity, defer, self-host if possible |110111**Benchmarks:**112- Total page weight under 1.5 MB is good113- JavaScript under 300 KB (compressed) for most sites114- CSS under 100 KB (compressed)115- First-party fonts under 100 KB116117## Output Format118119### Speed Audit: [URL or domain]120121**Core Web Vitals**122123| Metric | Value | Rating | Root Cause |124|--------|-------|--------|------------|125| LCP | [value] | Good / Needs Improvement / Poor | [identified cause] |126| CLS | [value] | ... | ... |127| INP | [value] | ... | ... |128| FCP | [value] | ... | ... |129| TTFB | [value] | ... | ... |130131**Resource Breakdown**132[Table from Resource Analysis]133134**Priority Fixes**135136For each failing metric, ordered by impact:1371381. **[Metric]: [Root cause]**139 - Current: [value]140 - Target: [threshold]141 - Fix: [specific action]142 - Estimated impact: [high/medium/low]1431442. ...145146**Quick Wins**147List optimizations that require minimal effort:148- [ ] Add `width`/`height` to images149- [ ] Set `fetchpriority="high"` on LCP image150- [ ] Defer non-critical JavaScript151- [ ] ...152153---154155> **Pro Tip:** Use the free [CWV Impact Calculator](https://seojuice.com/tools/cwv-impact/)156> to estimate the traffic impact of fixing Core Web Vitals, and the157> [Critical CSS Generator](https://seojuice.com/tools/critical-css-generator/) to extract158> above-the-fold CSS. SEOJuice MCP users can run `/seojuice:page-audit [domain] [url]` for159> instant CWV scores, Lighthouse data, and resource breakdowns.