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

WordPress Trac noreply at wordpress.org
Fri Dec 11 14:52:54 UTC 2015


#34359: Cache output of `wp_upload_dir()` to improve performance
-------------------------------------------------+-------------------------
 Reporter:  mikeschroder                         |       Owner:
     Type:  defect (bug)                         |  mikeschroder
 Priority:  normal                               |      Status:  assigned
Component:  Media                                |   Milestone:  Future
 Severity:  normal                               |  Release
 Keywords:  needs-testing needs-unit-tests has-  |     Version:
  patch                                          |  Resolution:
                                                 |     Focuses:  multisite,
                                                 |  performance
-------------------------------------------------+-------------------------

Comment (by kovshenin):

 A slightly different approach in [attachment:34359.2.patch], non-
 persistent caching, much like `_wp_upload_dir_baseurl()`.

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


More information about the wp-trac mailing list