Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#15028 closed defect (bug) (fixed)

get_boundary_post() needlessly loads term & postmeta cache

Reported by: dd32's profile dd32 Owned by:
Milestone: 3.1 Priority: normal
Severity: normal Version:
Component: Performance Keywords:
Focuses: Cc:

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)

#1 @dd32
14 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

#2 @jeremyclarke
13 years ago

  • Cc jer@… added

Woot thanks to both of you!

Note: See TracTickets for help on using tickets.