Title: Block Weight Inspector
Author: devmarvs
Published: <strong>20 janvier 2026</strong>
Last modified: 20 janvier 2026

---

Recherche d’extensions

![](https://ps.w.org/block-weight-inspector/assets/Banner-772x250.png?rev=3443537)

![](https://ps.w.org/block-weight-inspector/assets/Icon-256x256.png?rev=3443537)

# Block Weight Inspector

 Par [devmarvs](https://profiles.wordpress.org/devmarvs/)

[Télécharger](https://downloads.wordpress.org/plugin/block-weight-inspector.0.1.0.zip)

 * [Détails](https://fr-ca.wordpress.org/plugins/block-weight-inspector/#description)
 * [Avis](https://fr-ca.wordpress.org/plugins/block-weight-inspector/#reviews)
 *  [Installation](https://fr-ca.wordpress.org/plugins/block-weight-inspector/#installation)
 * [Développement](https://fr-ca.wordpress.org/plugins/block-weight-inspector/#developers)

 [Support](https://wordpress.org/support/plugin/block-weight-inspector/)

## Description

Block Weight Inspector adds a sidebar panel in the block editor that maps blocks
in the current post/page to the CSS and JS assets they register. It estimates local
asset sizes, highlights top offenders, and exports a JSON report. It can also generate
a suggested conditional-loading snippet to help you dequeue assets when a block 
is not present.
 It also adds a Tools -> Block Weight Inspector screen for auditing
existing posts without opening the editor. Note: The inspector preserves block comment
delimiters when analyzing content so `parse_blocks()` remains accurate after sanitization.

Key features:

 * Block -> asset mapping using registered block metadata.
 * Estimated size for local assets.
 * Top offenders summary and full asset list.
 * JSON export for sharing or auditing.
 * Suggested conditional-loading rules (review before use).

## Installation

 1. Upload the plugin folder to `/wp-content/plugins/`.
 2. Activate the plugin through the Plugins menu in WordPress.
 3. Open the block editor and use the « Block Weight Inspector » sidebar.

## FAQ

### Does this load assets on the front-end?

No. The inspector only runs in the block editor and does not enqueue anything on
the front-end.

### Why is a size shown as « remote/unknown »?

Only local files are measured by default. You can optionally enable remote size 
lookup in the inspector panel or Tools page, and the preference is saved per user.

### Are the suggested dequeue rules safe?

They are suggestions only. Some plugins enqueue assets for reasons outside of blocks.
Always review before using.

## Avis

Il n’y a aucun avis sur cette extension.

## Contributeurs & développeurs

« Block Weight Inspector » est un logiciel libre. Les personnes suivantes ont contribué
à cette extension.

Contributeurs

 *   [ devmarvs ](https://profiles.wordpress.org/devmarvs/)

[Traduisez « Block Weight Inspector » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/block-weight-inspector)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/block-weight-inspector/),
consulter le [SVN dépôt](https://plugins.svn.wordpress.org/block-weight-inspector/),
ou s’inscrire au [journal de développement](https://plugins.trac.wordpress.org/log/block-weight-inspector/)
par [RSS](https://plugins.trac.wordpress.org/log/block-weight-inspector/?limit=100&mode=stop_on_copy&format=rss).

## Historique des changements

#### 0.1.0

 * Initial release.

## Méta

 *  Version **0.1.0**
 *  Last updated **il y a 9 mois**
 *  Active installations **Moins de 10**
 *  WordPress version ** 6.0 ou plus **
 *  Tested up to **6.9.10**
 *  PHP version ** 7.4 ou plus **
 *  Language
 * [English (US)](https://wordpress.org/plugins/block-weight-inspector/)
 * Tags
 * [assets](https://fr-ca.wordpress.org/plugins/tags/assets/)[blocks](https://fr-ca.wordpress.org/plugins/tags/blocks/)
   [gutenberg](https://fr-ca.wordpress.org/plugins/tags/gutenberg/)[performance](https://fr-ca.wordpress.org/plugins/tags/performance/)
   [profiling](https://fr-ca.wordpress.org/plugins/tags/profiling/)
 *  [Vue avancée](https://fr-ca.wordpress.org/plugins/block-weight-inspector/advanced/)

## Notes

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/block-weight-inspector/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/block-weight-inspector/reviews/)

## Contributeurs

 *   [ devmarvs ](https://profiles.wordpress.org/devmarvs/)

## Support

Quelque chose à dire ? Besoin d’aide ?

 [Voir le forum de support](https://wordpress.org/support/plugin/block-weight-inspector/)