WPMU Domain Mapping Plugin: wp_domain_mapping - too many queries?


I am monitoring our WPMU site with New Relic (which is so awesome) and I am seeing a query called:


that is being run like 200 to 300 times per Wordpress php page that is being called (like single.php, page.php, etc).

I recorded this video so you can see exactly what I am seeing:

Is this an opportunity for caching/tuning in some way to reduce the number of calls or is there a good explanation why this is absolutely necessary. It seems to me that one call per page load for this query ought to be enough :slight_smile:

Patrick Steil