[wp-trac] [WordPress Trac] #56802: Query: Post IDs cached for search and other 'LIKE' queries are unreachable

WordPress Trac noreply at wordpress.org
Tue Oct 11 23:50:34 UTC 2022


#56802: Query: Post IDs cached for search and other 'LIKE' queries are unreachable
--------------------------+--------------------------
 Reporter:  dlh           |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  6.1
Component:  Query         |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  performance
--------------------------+--------------------------
Changes (by peterwilsoncc):

 * focuses:   => performance
 * milestone:  Awaiting Review => 6.1


Comment:

 Thanks David. As caching was added during the current release cycle, I've
 moved it on to the milestone for investigation.

 The placeholder value is stored in a static variable so I am not sure how
 to test for this.

 The issue is limited to sites with a persistent cache, potentially
 stuffing them with keys they can never access again.

 I like the options you provide: protentially the best way forward is to
 skip LIKE queries for now and revisit in 6.2.

 cc @spacedmonkey

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


More information about the wp-trac mailing list