As of April 2026, Block Weight Inspector is a WordPress assets plugin with 0 active installations and a 0/5 rating0. It has been downloaded 123 times in total. Requires WordPress 6.0+ and PHP 7.4+. Available on WordPress.org since 2026. Recently updated within the last 3 months. Top alternative: Prevent Browser Caching.
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:
| WordPress | 6.0+ requiredTested up to 6.9.4 |
| PHP | 7.4+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.