Hi there
Good to see another South African in here.
Are you sure you're not having some form of DNS issue? I encountered something similar once, and it had to with a DNS server not being accessible from my desktop.
For example, if my DSL router at home goes down, it takes me about 30 seconds to get into X from a text console - if the router is up, it is virtually instantaneous... ergo DNS.
What you can try (if you want to insure that it is something on your system itself that is causing this) is to put the site online at a hosting provider. Hetzner (hetzner.co.za) is a good choice and they offer LAMP hosting - put the code there, and see if it still has the delay... if it does, it is your code, if it does not, it is your system.
Other than a possible DNS problem I've got no ideas... have you tried NOT using symbolic names?
On our development setup at work I always use numeric addresses, i. e. when developing PHP pages I use
http://20.0.0.16/php/project/index.php
never
http://development/php/
etc. to make sure that no DNS resolution is done.
Hope this helps,
Regards,