#15028 closed defect (bug) (fixed)
get_boundary_post() needlessly loads term & postmeta cache
| Reported by: |
|
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)
Note: See
TracTickets for help on using
tickets.

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