[wp-trac] [WordPress Trac] #59188: WP_Posts_List_Table causes post, postmeta, and term caches to be primed for all pages in the DB on load
WordPress Trac
noreply at wordpress.org
Thu Oct 12 23:39:20 UTC 2023
#59188: WP_Posts_List_Table causes post, postmeta, and term caches to be primed for
all pages in the DB on load
-------------------------------------+-------------------------------------
Reporter: kevinfodness | Owner: spacedmonkey
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 6.4
Component: Query | Version: 6.1
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses: administration,
has-unit-tests needs-dev-note | performance
-------------------------------------+-------------------------------------
Comment (by peterwilsoncc):
In [changeset:"56925" 56925]:
{{{
#!CommitTicketReference repository="" revision="56925"
Query: Cache post parent IDs in `posts` group.
Move the cache of post parent IDs from the dedicated group `post_parents`
to `posts`. This maintains backward compatibility for clearing all post
object related data by calling `wp_cache_flush_group( 'posts' )`.
Post parent IDs are now cached with with the prefix `post_parent:` in the
`posts` group.
Follow up to [56763].
Props spacedmonkey, joemcgill, peterwilsoncc.
See #59188.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59188#comment:70>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list