[wp-trac] [WordPress Trac] #59516: Improve cache key generation in query classes

WordPress Trac noreply at wordpress.org
Fri Oct 4 00:55:42 UTC 2024


#59516: Improve cache key generation in query classes
-------------------------------------------------+-------------------------
 Reporter:  spacedmonkey                         |       Owner:  pbearne
     Type:  defect (bug)                         |      Status:  accepted
 Priority:  normal                               |   Milestone:  6.8
Component:  Query                                |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests changes-    |     Focuses:
  requested early                                |  performance
-------------------------------------------------+-------------------------
Changes (by peterwilsoncc):

 * keywords:  has-patch has-unit-tests changes-requested => has-patch has-
     unit-tests changes-requested early
 * milestone:  6.7 => 6.8


Comment:

 As `WP_Query` is somewhat fundamental to WordPress, I've added the `early`
 keyword and moved this to the next release milestone.


 I've created an [https://github.com/WordPress/wordpress-develop/pull/7497
 experimental pull request] that sorts various items that are passed as an
 array to increase cache hits. It will need additional tests.

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


More information about the wp-trac mailing list