[wp-trac] [WordPress Trac] #10886: WordPress should not unnecessarily query posts at page load

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 19 23:28:13 UTC 2010


#10886: WordPress should not unnecessarily query posts at page load
--------------------------+-------------------------------------------------
 Reporter:  junsuijin     |       Owner:  junsuijin               
     Type:  defect (bug)  |      Status:  new                     
 Priority:  normal        |   Milestone:  Future Release          
Component:  Optimization  |     Version:  2.8.4                   
 Severity:  normal        |    Keywords:  has-patch, needs-testing
--------------------------+-------------------------------------------------

Comment(by dd32):

 See Also: #12256

 robots.txt requests cause WordPress to query the database for all the
 homepage posts. It'd be good if there was perhaps a query var to short
 circuit the internal querying and instead perhaps fake a page template...
 Or probably better to just offer an appropriate hook.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10886#comment:17>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list