[wp-trac] [WordPress Trac] #22176: Cache the results of the posts_request_ids query

WordPress Trac noreply at wordpress.org
Fri Aug 26 00:01:37 UTC 2022


#22176: Cache the results of the posts_request_ids query
-------------------------------------------------+-------------------------
 Reporter:  ryan                                 |       Owner:
                                                 |  peterwilsoncc
     Type:  enhancement                          |      Status:  reopened
 Priority:  normal                               |   Milestone:  6.1
Component:  Query                                |     Version:  3.4.2
 Severity:  normal                               |  Resolution:
 Keywords:  needs-dev-note has-patch has-unit-   |     Focuses:
  tests                                          |  performance
-------------------------------------------------+-------------------------

Comment (by peterwilsoncc):

 @Chouby thanks for your report and continued testing of pre-release
 software.

 I was able to reproduce the bug and have a fix in the
 [https://github.com/WordPress/wordpress-develop/pull/3137 linked pull
 request] containing follow up work.

 I've added a modified version of your test to the caching test suite. I
 needed to modify the assertions to contains/not contains as the shared
 fixtures mean some posts are expected.

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


More information about the wp-trac mailing list