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

---

Priserĉi kromprogramojn

![](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

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

[Elŝuti](https://downloads.wordpress.org/plugin/block-weight-inspector.0.1.0.zip)

 * [Detaloj](https://eo.wordpress.org/plugins/block-weight-inspector/#description)
 * [Pritaksoj](https://eo.wordpress.org/plugins/block-weight-inspector/#reviews)
 *  [Instalo](https://eo.wordpress.org/plugins/block-weight-inspector/#installation)
 * [Programado](https://eo.wordpress.org/plugins/block-weight-inspector/#developers)

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

## Priskribo

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).

## Instalo

 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.

## OD

### 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.

## Pritaksoj

There are no reviews for this plugin.

## Kontribuantoj k. programistoj

“Block Weight Inspector” estas liberkoda programo. La sekvaj homoj kontribuis al
la kromprogramo.

Kontribuantoj

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

[Traduki “Block Weight Inspector” en vian lingvon.](https://translate.wordpress.org/projects/wp-plugins/block-weight-inspector)

### Ĉu interesita en programado?

[Browse the code](https://plugins.trac.wordpress.org/browser/block-weight-inspector/),
check out the [SVN repository](https://plugins.svn.wordpress.org/block-weight-inspector/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/block-weight-inspector/)
by [RSS](https://plugins.trac.wordpress.org/log/block-weight-inspector/?limit=100&mode=stop_on_copy&format=rss).

## Ŝanĝprotokolo

#### 0.1.0

 * Initial release.

## Metadatumoj

 *  Version **0.1.0**
 *  Last updated **antaŭ 4 monatoj**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.0 or higher **
 *  Tested up to **6.9.4**
 *  PHP version ** 7.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/block-weight-inspector/)
 * Tags
 * [assets](https://eo.wordpress.org/plugins/tags/assets/)[blocks](https://eo.wordpress.org/plugins/tags/blocks/)
   [gutenberg](https://eo.wordpress.org/plugins/tags/gutenberg/)[performance](https://eo.wordpress.org/plugins/tags/performance/)
   [profiling](https://eo.wordpress.org/plugins/tags/profiling/)
 *  [Altnivela rigardo](https://eo.wordpress.org/plugins/block-weight-inspector/advanced/)

## Pritaksoj

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/)

## Kontribuantoj

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

## Helpo

Got something to say? Need help?

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