Website performance and delivery · Article 0310

How to Diagnose a high LCP caused by a web font

Use this evidence-first guide to diagnose the specific symptom, make the smallest justified change, and confirm that the original workflow is restored.

Before you change anything: Back up relevant files and data, record the current setting, and test one change at a time. Do not share passwords, API keys, session cookies, or private customer data in support requests.

What the symptom usually means

This symptom is a clue, not a diagnosis. For “How to Diagnose a high LCP caused by a web font,” the cause may sit in configuration, routing, application behavior, or an upstream service. Confirm the failing layer from the response and logs before changing settings.

LCP measurement checks

Checks to run first

  1. Inspect the image request's URL, status, response type, and transfer size in browser DevTools.
  2. Confirm the original file and expected generated derivative exist; check storage availability and relevant permissions.
  3. For slow images, serve appropriately sized responsive variants and compress them without visibly degrading quality.
  4. For layout shifts, set intrinsic width/height or aspect ratio; avoid lazy-loading the main above-the-fold LCP image.

Measure before changing performance settings

Use these checks to isolate the specific failure described in this guide.

Step-by-step troubleshooting

  1. Use the performance trace to confirm the LCP element is text and that font loading delays its paint. Check the Network panel for font requests, CSS dependencies, and blocked or slow font files.
  2. Reduce font variants and weights, subset fonts when practical, and serve WOFF2 files efficiently. If a critical font is self-hosted and reliably needed above the fold, consider a narrowly targeted preload with correct crossorigin behavior.
  3. Use a suitable font-display value so text can render while the font loads, and ensure the fallback font has compatible metrics to reduce layout shifts. Do not preload every font weight.
  4. Retest with a cold cache and the same performance profile. Confirm text paints sooner and font swapping does not introduce unacceptable layout shift.

How to verify the fix

Common mistakes to avoid

If the problem continues

Escalate with the exact affected URL, timestamp and time zone, response/error code, steps to reproduce, recent changes, and a sanitized log excerpt or request ID. Tell the host or software provider what you tested and what changed. Ask them to check the layer you cannot access rather than requesting a broad reset.

For provider-specific values, version-sensitive behavior, or commands, confirm the instructions in the official documentation for your exact hosting plan and software version before applying them. This guide intentionally avoids destructive one-size-fits-all commands because the correct action depends on the evidence and environment.

Related troubleshooting guides