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

WordPress Trac noreply at wordpress.org
Mon Jun 1 12:41:33 UTC 2015

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

Comment (by westi):

 Is there a strong reason to use transients for this instead of just having
 a object cached result that is keyed on something that includes the
 '''last_changed''' value for posts?

 I guess the only reason would be to try and leverage this for sites
 without a persistent cache backend, I'm not sure I'd want to run without
 one for this many posts however ;)

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

More information about the wp-trac mailing list