Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Canvas Page Weight

No security coverage Under active development

Part of the Canvas ecosystem · 42 projects

In Drupal Canvas, editors add sliders, background videos, large photos and embedded players. The page looks right, but it gets slow, and nobody notices until visitors leave and search engines rank it lower.

Canvas Page Weight shows editors how heavy a page is while they build it, in words they understand, and what to change to make it lighter.

Features

  • A Page weight panel in the Canvas editor. It gives a verdict (๐Ÿš€ Nice and light, ๐Ÿ™‚ Close to the limit, ๐Ÿข Heavy page), and how long the page takes to load on a slow phone connection. It updates as the editor works.
  • Quick fixes, biggest saving first. Each fix names the component, explains the problem in plain words, says what to try, and estimates the saving. For example: Video background: the whole video downloads before the page feels ready. Try: replace it with a still image. Save 4.6 MB.
  • The files behind each fix. Folded away under each fix: the name and size of each file, and for photos their size in pixels and how many times wider they are than a phone needs.
  • A page weight budget. 2.5 MB by default, which still passes Lighthouse's page weight check. Over it, editors are warned, or the page cannot be published until it is lighter.
  • An overview of every page. A gauge icon in the Canvas sidebar lists every page, heaviest first, with its verdict, weight, load time and biggest fix. Selecting a page opens it in the editor with the panel open.
  • Measured as visitors receive it. An image counts as the image style derivative the page serves, the one a phone downloads, not the original upload. Embeds from other sites get an editable estimate per host.
  • Every language Drupal supports, including right-to-left languages. All text comes from Drupal, translated.
  • File details for developers, folded away in the panel: every file and its exact size, grouped by component.

Post-installation

  1. Give editors the View page weight permission.
  2. Optionally, set the budget at Configuration ยป Content authoring ยป Page weight, and choose whether pages over it are only flagged or cannot be published.
  3. In the Canvas editor, open Extensions ยป Page weight, or select the gauge icon in the sidebar for the overview.

Choosing a budget

Lighthouse gives page weight a perfect score up to about 1.7 MB, and still passes it up to about 2.6 MB. The median mobile page on the web weighs about 2.2 MB (Web Almanac 2025). The default, 2.5 MB, keeps pages passing; set 1.7 MB for a stricter site.

Requirements

Similar projects

Lighthouse and PageSpeed Insights measure a published page, for developers. Canvas Page Weight measures the draft, for editors, while they can still change it.

Ask your assistant about Canvas Page Weight

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
2
Tracked since
Nov 2026
Latest release
3 hours ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Core PHP Release date
1.0.0-alpha2 Pre-release 11 PHP >=8.3 Nov 4, 2026
1.0.0-alpha1 Pre-release 11 PHP >=8.3 Nov 4, 2026