[wp-trac] [WordPress Trac] #14796: start_post_rel_link() makes 3 DB queries; too much for what it offers
WordPress Trac
wp-trac at lists.automattic.com
Tue Sep 7 10:44:44 UTC 2010
#14796: start_post_rel_link() makes 3 DB queries; too much for what it offers
--------------------------+-------------------------------------------------
Reporter: demetris | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Performance | Version: 3.0.1
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
I think 3 DB queries is far too much for what {{{start_post_rel_link}}}
offers (printing in the doc HEAD a relational link to the first post of
the blog).
Is this function (or the one it uses, or the one that uses) as optimal as
we can get it?
If yes, isn’t there anything else we can do about that? Like, say,
storing the value as an autoloaded transient option?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14796>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list