Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Core Web Vitals (CWV)

Security covered Under active development 6 sites

This module collects real-user Core Web Vitals such as LCP, CLS, and INP directly from visitor browsers and stores the data in your Drupal database. It provides insightful reports that correlate these metrics with backend performance signals, helping you understand and improve your site's user experience without relying on third-party services. The module also includes privacy features, customizable data collection, and the ability for other modules to extend its functionality.

Real-user Core Web Vitals for Drupal.

Captures LCP, CLS, INP, FCP, and TTFB from real visitor browsers using the standard web-vitals JS. Stores them in two tables: cwv_beacons for real-user data, cwv_probes for cron-driven synthetic observations. Renders correlation panels at /admin/reports/cwv that join each metric to backend signals.

What you can answer out of the box:

  • Does Drupal's page cache hit rate predict LCP on this route?
  • Are slow INP outliers concentrated on logged-in pages?
  • Did the count of "poor" beacons shift after the deploy on Tuesday?
  • Which routes have the worst p75 TTFB?

No third-party service. No JS calls to external endpoints. Data stays in your database.

Privacy and hardening. Capture is off after install. Sampling defaults to 0.1. Per-IP flood protection and a configurable table-size guard defend the endpoint. Three URL-storage policies (hash, path-only, full) cover the GDPR / CCPA exposure the site can tolerate. Outlier filtering is on by default for new installs and drops obvious non-RUM noise (backgrounded-tab artefacts, broken-page beacons) before storage. SECURITY.md and PERFORMANCE.md in the repo cover the full posture and sizing tables.

Built as a substrate. A frozen, security-advisory-covered collector contract with four shapes (synchronous, async-decoration, probe, panel-contribution) lets sibling modules add their own context fields and report panels via a single tagged service. Built-in collectors ship the Drupal cache state, render-tree size, backend cache hit/miss, database query count, OPcache and APCu runtime health, edge-cache state across the major CDN vendors, and upstream / CDN request-ID correlation.

Roadmap in ROADMAP.md. Contract design in docs/collector-contract.md.

Drupal 10–11

Ask your assistant about Core Web Vitals (CWV)

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
23
Tracked since
Apr 2026
Latest release
5 months ago
Releases (12 mo)
23 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
1.5.0-beta1 Pre-release 10–11 May 19, 2026
1.4.4 Stable 10–11 May 19, 2026
1.4.3 Stable 10–11 May 19, 2026
1.4.2 Stable 10–11 May 11, 2026
1.4.1 Stable 10–11 May 11, 2026
1.4.0 Stable 10–11 May 11, 2026
1.3.0 Stable 10–11 May 11, 2026
1.2.0 Stable 10–11 May 11, 2026
1.1.0 Stable 10–11 May 11, 2026
1.1.0-alpha3 Pre-release 10–11 May 11, 2026