[wp-trac] [WordPress Trac] #36904: Add caching to comment feed in WP_Query

WordPress Trac noreply at wordpress.org
Tue Apr 5 01:54:14 UTC 2022

#36904: Add caching to comment feed in WP_Query
 Reporter:  spacedmonkey                     |       Owner:  spacedmonkey
     Type:  enhancement                      |      Status:  closed
 Priority:  normal                           |   Milestone:  6.0
Component:  Query                            |     Version:  2.2
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:  performance
Changes (by peterwilsoncc):

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


 In [changeset:"53065" 53065]:
 #!CommitTicketReference repository="" revision="53065"
 Query: Cache comments feeds in `WP_Query`.

 Cache queries to the comments table in `WP_Query` for various comments
 feeds. Only comment IDs are stored for each feeds cache to avoid doubling
 up caching with each individual comment's cache.

 Props spacedmonkey, boonebgorges, pbearne.
 Fixes #36904.

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

More information about the wp-trac mailing list