[wp-hackers] DB connections

Matt Mullenweg m at mullenweg.com
Tue Aug 8 08:25:12 GMT 2006

Aubrey Kilian wrote:
> Anyway, the article basically goes on to say that a method called
> "Lazy Loading" should be used to only create a connection to the mysql
> database if a query is actually executed against the database.  With
> the current way that wordpress works, that would be every single page
> load.

The patch doesn't look bad. I think something like this is already in 
the MU db class.

Matt Mullenweg
  http://photomatt.net | http://wordpress.org
http://automattic.com | http://akismet.com

More information about the wp-hackers mailing list