[wp-trac] [WordPress Trac] #33885: meta_form performs a potentially expensive query

WordPress Trac noreply at wordpress.org
Thu Sep 28 11:58:09 UTC 2017


#33885: meta_form performs a potentially expensive query
----------------------------+--------------------------
 Reporter:  jorbin          |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  4.9
Component:  Administration  |     Version:  4.3.1
 Severity:  critical        |  Resolution:
 Keywords:  has-patch       |     Focuses:  performance
----------------------------+--------------------------

Comment (by pento):

 [attachment:33885.5.diff] caches the result of the post meta key query,
 and naively clears the cache when a meta key is added or deleted.

 If this approach works for folks, the cache clearing could be made a bit
 smarter.

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


More information about the wp-trac mailing list