Page Performance Insight Module Adds Google Lighthouse Audits to Drupal Admin

Poster for Page Performance Insights Module

Performance checks for Drupal pages can now be reviewed inside the admin interface through the Page Performance Insight module, which adds Google Lighthouse reporting to node-level workflows.

The module is maintained by Nitin Shrivastava, a software engineer at Axelerant. It uses the Google PageSpeed Insights API to audit Drupal nodes and display performance results through dashboard views for editors, developers, and site managers.

The release addresses a common gap in site performance monitoring: individual content pages may change frequently due to editorial updates, while audits often focus on homepages, templates, or deployment-level checks. Page-level reporting gives site teams a clearer view of where performance issues appear across published content and recurring content structures.

Page Performance Insight supports Drupal 10 and Drupal 11. It requires PHP 8.1+, a Google PageSpeed Insights API key, and a publicly accessible staging or production URL, as Google’s PageSpeed Insights service cannot audit local development environments.

The module runs separate audits for mobile and desktop views. According to the project page, each audit calls the PageSpeed Insights API twice per node and stores the results in a dedicated database table.

The dashboard includes content-type overview cards, node-level score listings, Core Web Vitals metrics, file-level opportunity data, and a seven-run score history chart. Reported metrics include Largest Contentful Paint, First Contentful Paint, Total Blocking Time, Cumulative Layout Shift, Interaction to Next Paint, Server Response Time, and Speed Index.

The content-type overview is intended to help site managers identify whether performance issues are limited to individual pages or appear across groups such as articles, landing pages, or product pages. The module also lists Lighthouse opportunity audits with resource-level details, estimated time savings, and, where applicable, wasted bytes.

In an email to The DropTimes, Nitin said many performance tools focus on homepage audits, while large Drupal websites may have hundreds or thousands of content pages created and updated by editors. He said those pages often go unchecked, even though they can affect user experience and search performance.

Drupal.org lists release 1.0.1 as published on 31 May 2026. The module can be installed with composer require 'drupal/page_performance:^1.0'.

The project is listed under Accessibility, Developer tools, and Performance on Drupal.org. The project page also states that Page Performance Insight is not covered by Drupal’s security advisory policy, so site owners should review it before using it in production.

The source code is available through the project’s Drupal GitLab repository. Feedback and issue reports can be submitted through the project page and issue queue.

Disclosure: This content is produced with the assistance of AI.

Note: The vision of this web portal is to help promote news and stories around the Drupal community and promote and celebrate the people and organizations in the community. We strive to create and distribute our content based on these content policy. If you see any omission/variation on this please reach out to us at #thedroptimes channel on Drupal Slack and we will try to address the issue as best we can.

Related Organizations

Related People

Upcoming Events

Latest Opportunities