When I load pages off my local Apache server in Window Vista, there seems to be a 1-2 sec delay before the browser starts receiving and rendering the page. It is pretty slow considering the fact that it is a local request.
Apparently it has something to do with Windows Vista doing an IPv6 lookup on localhost each time a page is requested. Here’s how I fixed it.
Load up C:\Windows\system32\drivers\etc\hosts in a text editor
Your host file will look something like this
127.0.0.1 localhost
::1 localhost
All you need to do is comment out the “::1 localhost” line
127.0.0.1 localhost
# ::1 localhost
Save the file. This should solve the delay issue.
Thanks to the brilliant guys at apachelounge.