[wp-trac] [WordPress Trac] #57296: Force split queries in WP_Query in object caching is enabled.
WordPress Trac
noreply at wordpress.org
Thu Dec 8 21:35:36 UTC 2022
#57296: Force split queries in WP_Query in object caching is enabled.
--------------------------+-----------------------------
Reporter: spacedmonkey | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Query | Version: 3.0
Severity: normal | Resolution:
Keywords: has-patch | Focuses: performance
--------------------------+-----------------------------
Comment (by peterwilsoncc):
Looking at #20628, it appears that when queries were initially split it
was always on but caused problems in some circumstances.
There's a little detail on the ticket but I suspect some discussion
happened off-ticket too.
I've been considering something similar to this ticket but defaulting to
always splitting queries, regardless of the use of a persistent cache or
not.
@SergeyBiryukov, do you have any additional background for #20628? It was
some time ago so I realise you may not recall.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57296#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list