[wp-trac] [WordPress Trac] #32264: wp_enqueue_media() is slow on large sites

WordPress Trac noreply at wordpress.org
Sat May 9 00:42:37 UTC 2015


#32264: wp_enqueue_media() is slow on large sites
----------------------------------------+------------------------------
 Reporter:  philipjohn                  |       Owner:
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  Posts, Post Types           |     Version:  3.9
 Severity:  normal                      |  Resolution:
 Keywords:  needs-patch good-first-bug  |     Focuses:  performance
----------------------------------------+------------------------------
Changes (by johnbillion):

 * keywords:   => needs-patch good-first-bug
 * type:  defect (bug) => enhancement


Comment:

 I think as per the discussion on #27985, we should cache the result of
 each of these queries in a transient in much the same way we do for
 `is_multi_author()`.

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


More information about the wp-trac mailing list