[wp-trac] [WordPress Trac] #34359: Cache output of `wp_upload_dir()` to improve performance

WordPress Trac noreply at wordpress.org
Mon Oct 19 23:13:36 UTC 2015


#34359: Cache output of `wp_upload_dir()` to improve performance
--------------------------+-------------------------------------
 Reporter:  DH-Shredder   |       Owner:  DH-Shredder
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  4.4
Component:  Media         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  multisite, performance
--------------------------+-------------------------------------

Comment (by johnbillion):

 With persistent caching we'll need to be careful not to pollute the upload
 dir URL where a site is using different domain names and/or different
 schemes for the home URL, site URL, and admin area. Tests should reflect
 this.

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


More information about the wp-trac mailing list