Making WordPress.org

Opened 3 years ago

Closed 2 years ago

#5922 closed feature request (maybelater)

Plugin/Theme should show their CSS & JS dependencies sizes

Reported by: mohammadayoub96's profile mohammadayoub96 Owned by:
Milestone: Priority: normal
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 3 years ago.
WP Suggestion (2).jpeg (117.6 KB) - added by mohammadayoub96 3 years ago.
WP Suggestion (3).jpeg (48.4 KB) - added by mohammadayoub96 3 years ago.
WP Suggestion (4).jpeg (145.9 KB) - added by mohammadayoub96 3 years ago.

Download all attachments as: .zip

Change History (7)

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


3 years ago

#2 @leonstafford
3 years 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.

#3 @dd32
2 years ago

  • Milestone Plugin Directory v3.0 deleted
  • Priority changed from high to normal
  • Resolution set to maybelater
  • Status changed from new to closed
  • Type changed from defect (bug) to feature request

I'm closing this as maybelater as IMHO this isn't something that would add benefit to the majority of users right now, and would add significant extra UI "noise" that's irrelevant to many.

Not saying it'll never happen, but I don't think the approach here is worthwhile.

Note: See TracTickets for help on using tickets.