[wp-hackers] Forum: High query count

Podz podz at tamba2.org.uk
Mon Jan 23 16:27:41 GMT 2006


My blog (hitormiss.org) has gone from using around 60 queries (taking
less than 1 second) per page load to using around 770 (taking 3 to 10
seconds to generate the page). I used a debug statement in wp-db.php to
determine that the WP code was requerying the database each time it used
an option value (from wp_options). Shouldn't it be caching those variables?

More info at http://wordpress.org/support/topic/57816?replies=4


More information about the wp-hackers mailing list