I am trying to resolve a slow page loading problem with WPMU which has been raised on other threads but has never been resolved. The delay occurs in the initial GET request (taking around 60 seconds) so I'd like to understand just how WPMU deals with subdomains. There doesn't seem to be any documentation on this but my understanding from various sources is that it's something like this
1. Wildcard subdomains are set on the server
2. When a request comes in the server doesn't recognise the subdomain so sends the request to the location of the main domain (WPMU folder)
3. htaccess in the WPMU directory rewrites the URL to a form that can match with the database
4. WPMU searches through at table (either wp_signups or wp_blogs) to find a match to the subdomain
5. WPMU redirects to the tables for the blog found and serves the appropriate pages
Can anyone confirm (or amend) that is what happens so that I can try to determine the stage at which the load delay is occurring?
Once I understand the load process I'll come back with more specific observations so that we might finally crack a problem that seems to affect many users.