Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#15028 closed defect (bug) (fixed)

get_boundary_post() needlessly loads term & postmeta cache

Reported by: dd32 Owned by:
Priority: normal Milestone: 3.1
Component: Performance Version:
Severity: normal Keywords:
Cc: jer@…

Description

get_boundary_post() needlessly fills the term & postmeta cache for the matched post.

As the only information about the post needed is the Title & URL, loading the terms & postmeta is generally just an extra 2 wasted queries.

The only difference will be URL's which contain a Taxonomy or value from Post Meta, In those cases, the values will be loaded on demand after an extra cache miss.

Change History (2)

comment:1   dd323 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [15701]) Do not load Taxonomy cache & Postmeta cache in get_boundary_post(). Fixes #15028

  • Cc jer@… added

Woot thanks to both of you!

Note: See TracTickets for help on using tickets.