[wp-trac] [WordPress Trac] #16894: Bulk load Comment Meta upon access

WordPress Trac noreply at wordpress.org
Thu Sep 17 20:00:33 UTC 2015


#16894: Bulk load Comment Meta upon access
-----------------------------------+---------------------------
 Reporter:  dd32                   |       Owner:  boonebgorges
     Type:  defect (bug)           |      Status:  closed
 Priority:  normal                 |   Milestone:  4.4
Component:  Comments               |     Version:  3.1
 Severity:  normal                 |  Resolution:  fixed
 Keywords:  has-patch 2nd-opinion  |     Focuses:  performance
-----------------------------------+---------------------------
Changes (by boonebgorges):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"34270"]:
 {{{
 #!CommitTicketReference repository="" revision="34270"
 Lazy-load comment meta on single post pages.

 [34268] introduced cache priming for commentmeta, enabled by default. To
 ensure performance on single post pages - where commentmeta is most likely
 to cause performance issues - we disable up-front cache-priming. Instead,
 we
 prime commentmeta caches for all comments in the loop the first time
 `get_comment_meta()` is called on the page.

 Props bradt, dd32, wonderboymusic, boonebgorges.
 Fixes #16894.
 }}}

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


More information about the wp-trac mailing list