[wp-trac] [WordPress Trac] #31071: media / post_mime_type related queries are very slow on larger sites
    WordPress Trac 
    noreply at wordpress.org
       
    Mon Mar 28 23:37:12 UTC 2016
    
    
  
#31071: media / post_mime_type related queries are very slow on larger sites
-------------------------------------------------+-------------------------
 Reporter:  archon810                            |       Owner:  pento
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  Future
Component:  Media                                |  Release
 Severity:  normal                               |     Version:  4.1
 Keywords:  dev-feedback reporter-feedback 2nd-  |  Resolution:
  opinion has-patch                              |     Focuses:
                                                 |  performance
-------------------------------------------------+-------------------------
Comment (by sboisvert):
 It would be pretty easy to abstract out the $months array to a separate
 function that calls it from a transient and we'd delete the transient on
 new attachment upload.
 If people this this is a good idea I can whip up a patch.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31071#comment:41>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list