WordPress.org

Making WordPress.org

Opened 11 days ago

Last modified 11 days ago

#5922 new defect

Plugin/Theme should show their CSS & JS dependencies sizes

Reported by: mohammadayoub96 Owned by:
Milestone: Plugin Directory v3.0 Priority: high
Component: Plugin Directory Keywords:
Cc:

Description

A WordPress plugin and theme should show their CSS and JS dependencies on the Plugin/Theme detail page, With a total size of CSS and JS files.

This will be very helpful for developers, understand how much heavy the plugin and theme are.

Dependencies details shown be shown either in sidebar or in a new tab after Development tab.

Here is the example output:
A WordPress plugin and theme should show their CSS and JS dependencies on the Plugin/Theme detail page, With a total size of CSS and JS files.

This will be very helpful for developers, understand how much heavy the plugin and theme are.

Dependencies details shown be shown either in sidebar or in a new tab after Development tab.

Here is the example output:

![](https://i.imgur.com/pNVAfdd.jpeg)
![](https://i.imgur.com/A95Rrak.jpeg)
![](https://i.imgur.com/heF0lVw.jpeg)
![](https://i.imgur.com/T7pTMvG.jpeg)

https://imgur.com/T7pTMvG
https://imgur.com/heF0lVw
https://imgur.com/pNVAfdd
https://imgur.com/A95Rrak

Attachments (4)

WP Suggestion (1).jpeg (18.2 KB) - added by mohammadayoub96 11 days ago.
WP Suggestion (2).jpeg (117.6 KB) - added by mohammadayoub96 11 days ago.
WP Suggestion (3).jpeg (48.4 KB) - added by mohammadayoub96 11 days ago.
WP Suggestion (4).jpeg (145.9 KB) - added by mohammadayoub96 11 days ago.

Download all attachments as: .zip

Change History (6)

This ticket was mentioned in Slack in #meta by tellyworth. View the logs.


11 days ago

#2 @leonstafford
11 days ago

Seems impossible to do this accurately. Many plugins/themes will serve different amounts of assets based on the particular URL, plugin/theme settings and then those may be modified further by optimization plugins such as Autoptimize. Some would care more about deferred loading sizes vs total size.

Suggest for your use case, to rather utilise some process to audit your site's performance in general, using techniques applicable to all websites, not just WordPress, to keep your page total loaded content small and pageloads quick.

Note: See TracTickets for help on using tickets.