> ## Documentation Index
> Fetch the complete documentation index at: https://docs.reliantlabs.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Speed insights: web vitals for real visitors

> Speed insights shows how fast each page of your frontend loads and responds for real visitors: LCP, INP, CLS and TTFB at p75, per page, from the browser telemetry forge already sends.

Speed insights answers "is my site fast for the people using it?" It reports the web vitals your visitors' browsers measured, per page, so you can see which route is slow rather than only that the site feels slow. These are real-user measurements, not a lab test, so they include slow phones and bad networks.

## Where to find it

In the project sidebar, open **Observability** and then **Performance & issues**, where **Speed insights** sits beside Errors, Alerts, Traces and Sessions. The time control defaults to the last 7 days and offers 15 minutes, 1 hour, 6 hours, 24 hours, 7 days and 30 days. The environment control in the top bar scopes it to one environment or all of them.

## What you see

Four headline cards give the whole frontend's figure for each vital, rated against the [web.dev](https://web.dev/articles/vitals) thresholds. Below them, a **By page** table lists up to 50 page paths, busiest first, with each page's figure and its number of views.

| Vital | Measures | Good | Poor |
| - | - | - | - |
| **LCP**, Largest Contentful Paint | When the main content has loaded | 2.5 s or less | over 4 s |
| **INP**, Interaction to Next Paint | How quickly the page responds to a tap or click | 200 ms or less | over 500 ms |
| **CLS**, Cumulative Layout Shift | How much the page jumps around as it loads (a unitless score) | 0.1 or less | over 0.25 |
| **TTFB**, Time to First Byte | How long the server takes to start answering | 800 ms or less | over 1.8 s |

Between good and poor is "needs improvement". Every figure is the **75th percentile (p75)**: three in four visits were at least this fast, which is how Google judges each vital, so one outlier can't dominate it. The headline for the whole app is an estimate, the pages' p75s weighted by their view counts. The per-page figures are exact.

A page with no sample for a vital shows a dash, never a zero. Page paths have their query string and fragment removed before they leave the browser, so an email address or token in a URL never appears here.

## How to turn it on

You don't, for a forge frontend. The browser runtime, `@reliantlabs/forge-web-runtime`, is scaffolded into every Next.js and Vite frontend, and it records the vitals with the rest of its [browser telemetry](https://docs.reliantlabs.io/hosting/observability/signals.md) as spans of the `webvitals` tracer, each stamped with the page. Deploy the frontend to [Reliant hosting](https://docs.reliantlabs.io/hosting/overview.md), open it, and measurements arrive in your organization's telemetry store as visits happen. Until then the page says no page has been measured in the window and what it will show.

An existing Vite or Next.js app adopted in place gets the same runtime once it initializes browser telemetry; see [Observability](https://docs.reliantlabs.io/hosting/observability.md). A frontend that never calls it, or one that turned browser telemetry off, shows nothing here.

## Reading the numbers

Two details explain numbers that look odd. A page that loads in a background tab and is only shown later would report its whole wait as its LCP, so the runtime drops paint measurements taken after the page was first hidden; a busy site's counts can therefore be a little lower than its page views. And a headline with few views is noisy: judge a page by its p75 once it has a few hundred views, not a handful.

When a vital turns poor, the next step is usually the trace or the session behind it: a high TTFB points at the server ([Traces](https://docs.reliantlabs.io/hosting/observability/signals.md) show where the request spent its time), and a layout shift or slow interaction is easiest to see in a [session timeline](https://docs.reliantlabs.io/hosting/observability/session-timelines.md). A built-in alert, `FrontendLCPPoor`, fires when LCP at p75 passes 4 seconds; see [dashboards and alerts](https://docs.reliantlabs.io/hosting/observability/dashboards-and-alerts.md#alerts).

## Limits

* Hosted environments only. A local `forge env up dev` stack has no hosted store behind this page.
* The page shows LCP, INP, CLS and TTFB. The runtime also records first contentful paint (FCP), but it isn't shown here.
* Browser telemetry follows your analytics settings: a visitor whose browser sends Global Privacy Control or Do Not Track, or who opted out, isn't measured. See [Visitors to apps you host with us](https://docs.reliantlabs.io/help/privacy.md#visitors-to-apps-you-host-with-us).
* Browser telemetry counts toward [observability ingestion](https://docs.reliantlabs.io/hosting/observability-billing.md), and browser data is kept for 30 days (see [retention](https://docs.reliantlabs.io/hosting/observability/where-it-goes.md#retention-and-usage)).

## Related topics

* [Built-in observability](https://docs.reliantlabs.io/hosting/observability.md) and [what every boundary records](https://docs.reliantlabs.io/hosting/observability/signals.md)
* [Hosted dashboards, alerts and issues](https://docs.reliantlabs.io/hosting/observability/dashboards-and-alerts.md): the generated frontend dashboard also charts web vitals by route
* [Session timelines and replay](https://docs.reliantlabs.io/hosting/observability/session-timelines.md)
* [Product analytics](https://docs.reliantlabs.io/forge/observability/product-analytics.md): who your visitors are and what they do


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.