Limit mysql requests with a single test.
With HTTP/1.1 protocol, client can make multiple queries in a single connection. Mostly, these queries have the same HOST: field.
If the mod_mysql_vhost module store the last result pair domain/docroot, it doesn't need to do another mysql request if client need the same domain (with only a strcmp test probably). This could improve performance by limiting mysql request.
Also available in: Atom