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

---

Prohledat pluginy

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

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

[Stáhnout](https://downloads.wordpress.org/plugin/block-weight-inspector.0.1.0.zip)

 * [Podrobnosti](https://cs.wordpress.org/plugins/block-weight-inspector/#description)
 * [Hodnocení](https://cs.wordpress.org/plugins/block-weight-inspector/#reviews)
 *  [Instalace](https://cs.wordpress.org/plugins/block-weight-inspector/#installation)
 * [Vývojáři](https://cs.wordpress.org/plugins/block-weight-inspector/#developers)

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

## Popis

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

## Instalace

 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.

## Nejčastější dotazy

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

## Recenze

Pro tento plugin nejsou žádné recenze.

## Autoři

Block Weight Inspector je otevřený software. Následující lidé přispěli k vývoji 
tohoto pluginu.

Spolupracovníci

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

[Přeložte “Block Weight Inspector” do svého jazyka.](https://translate.wordpress.org/projects/wp-plugins/block-weight-inspector)

### Zajímá vás vývoj?

[Prohledejte kód](https://plugins.trac.wordpress.org/browser/block-weight-inspector/),
podívejte se do [SVN repozitáře](https://plugins.svn.wordpress.org/block-weight-inspector/),
nebo se přihlaste k[ odběru protokolu vývoje](https://plugins.trac.wordpress.org/log/block-weight-inspector/)
pomocí [RSS](https://plugins.trac.wordpress.org/log/block-weight-inspector/?limit=100&mode=stop_on_copy&format=rss).

## Přehled změn

#### 0.1.0

 * Initial release.

## Meta

 *  Verze **0.1.0**
 *  Poslední aktualizace **před 5 měsíců**
 *  Aktivních instalací **Méně než 10**
 *  Verze WordPressu ** 6.0 nebo novější **
 *  Testováno až do WordPressu **6.9.4**
 *  Verze PHP ** 7.4 nebo novější **
 *  Jazyk
 * [English (US)](https://wordpress.org/plugins/block-weight-inspector/)
 * Štítků
 * [assets](https://cs.wordpress.org/plugins/tags/assets/)[blocks](https://cs.wordpress.org/plugins/tags/blocks/)
   [gutenberg](https://cs.wordpress.org/plugins/tags/gutenberg/)[performance](https://cs.wordpress.org/plugins/tags/performance/)
   [profiling](https://cs.wordpress.org/plugins/tags/profiling/)
 *  [Podrobnosti](https://cs.wordpress.org/plugins/block-weight-inspector/advanced/)

## Hodnocení

Zatím nebyly zadány žádné recenze.

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

[Zobrazit všechny recenze](https://wordpress.org/support/plugin/block-weight-inspector/reviews/)

## Spolupracovníci

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

## Podpora

Potřebujete pomoc?

 [Fórum podpory](https://wordpress.org/support/plugin/block-weight-inspector/)