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

WordPress Trac noreply at wordpress.org
Wed Oct 14 12:31:39 UTC 2020


#19879: Better caching for get_dirsize
-------------------------------------------------+-------------------------
 Reporter:  batmoo                               |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  5.6
Component:  Filesystem API                       |     Version:  3.3.1
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch dev-feedback needs-unit-   |     Focuses:  multisite,
  tests needs-dev-note                           |  performance
-------------------------------------------------+-------------------------
Changes (by janthiel):

 * Attachment "19879_Better-dirsize-caching-and-invalidation.patch" added.

 "Final" patch proposition; Renamed cache invalidation method and added
 cache invalidation to wp_upload_bits which did not invalidate the cache
 before acording to the Unit Tests

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


More information about the wp-trac mailing list