id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,focuses
13085,Twenty Ten makes too many queries for index pages,demetris,,"The testing environment is nothing fancy or excessive:
* Current trunk (r14186)
* Default widgets (Search, Categories, Meta)
* Four plugins (Markdown Extra, SQL Monitor, WP Console, WP-Syntax)
* Ten (10) posts per index page
In that humble setup, Twenty Ten makes thirty-four (34) queries to put together the home page, archive pages, etc.
(If I replace {{{wp_nav_menu}}} with {{{wp_page_menu}}}, the number goes down to 31.)
For reference, the Hybrid theme (with the same widgets) needs 11 queries for the same job. Kubrick, if I remember correctly, used something in that area too, 10 or 11 queries.
I only have the vaguest idea of where this might be coming from, so I’ll leave the diagnosis to the experts, but over 30 queries for index pages in a default install seems too much to me.",defect (bug),closed,normal,3.0,Performance,3.0,major,fixed,,,