[wp-trac] [WordPress Trac] #46707: Site health: notify the user while gathering site data
WordPress Trac
noreply at wordpress.org
Fri Apr 5 19:39:12 UTC 2019
#46707: Site health: notify the user while gathering site data
-------------------------------------------------+-------------------------
Reporter: azaozz | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.2
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: site-health needs-patch 2nd-opinion | Focuses: ui,
| performance
-------------------------------------------------+-------------------------
Changes (by azaozz):
* keywords: site-health needs-patch => site-health needs-patch 2nd-opinion
Comment:
Yeah, was thinking we can do a JSON request to get the dir sizes as soon
as the page loads. That would make it much faster.
But then, what's the real debug value of knowing these dir sizes?
- We know WP's size anyways, not even sure we need to get that.
- Knowing the `/plugins` and `/themes` dir sizes tells us... What exactly?
Perhaps breaking that into individual plugins and themes sizes may be a
bit more useful, but... Don't really see this as essential info.
- Knowing the `/uploads` dir size perhaps may be useful in some limited
fashion.
Then the size we calculate is not exactly the "size on disk", so the
numbers are off. A more comprehensive size can be seen in the hosting
control panel. I'm even thinking we should mention that somewhere there.
In these terms I'm thinking we should either stop showing the sizes, or
move them to another "section" and load them on demand (AJAX request when
the user clicks a button, etc.).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46707#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list