[wp-trac] [WordPress Trac] #19879: Better caching for get_dirsize

WordPress Trac noreply at wordpress.org
Wed Nov 4 19:10:33 UTC 2020


#19879: Better caching for get_dirsize
-------------------------------------------------+-------------------------
 Reporter:  batmoo                               |       Owner:  helen
     Type:  task (blessed)                       |      Status:  reopened
 Priority:  normal                               |   Milestone:  5.6
Component:  Filesystem API                       |     Version:  3.3.1
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-dev-note has-unit-   |     Focuses:  multisite,
  tests needs-testing dev-feedback               |  performance
-------------------------------------------------+-------------------------

Comment (by helen):

 @SergeyBiryukov I agree with all of the above, there are other instances
 of us doing the same PHP that `normalize_dirsize_cache_path()` is doing
 anyway so it doesn't make sense to name it for some usage but not all.
 Opened https://github.com/WordPress/wordpress-develop/pull/686 for review
 on those changes and to make sure tests pass.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/19879#comment:41>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list