christopher murray

Thoughts on a wiggly world ...

September 5, 2009

Geek Alert: Improve Speed of Apache on XP

Filed under: Personal,Technology — Christopher Murray @ 11:37 am

This is going to be of interest to only a very small, select crowd.

Here’s the deal. I do all of my design and development work on my local PC. Once I have finished a piece of work, I upload it to a staging server where it can be reviewed by the client. Once the client approves of the new work, it is uploaded to the live, production server.

The problem is my local machine, which runs WinXP and Apache, is painfully slow. Not because the machine itself is slow (it’s souped up with lots of speed, CPU, and Memory), but something else. When I load a page locally, it seems to take forever; the same page on either of the external servers loads within seconds. I should note also that this slowness appears primarily on Firefox.

I’d been Googling for this for a while until I came across this (http://weblogs.asp.net/dwahlin/archive/2007/06/17/fixing-firefox-slowness-with-localhost-on-vista.aspx):

It turns out that the slowness is caused by an IPv6 issue with DNS and can easily be resolved by turning IPv6 support off in Firefox while doing localhost testing.  To make the change, type about:config in the address bar, locate the network.dns.disableIPv6 setting and double-click on it to set it to true.  This does the trick for the Firefox localhost issue on Vista and everything is running fast again.

Kudos to the guy who figured this out. My pages load beautifully now. I went the extra step and disabled IPv6 on the whole machine.

Oy, when I read this I realize how truly geeky I am.

FacebookGoogle+TwitterInstapaperPinterestRead It LaterShare

Leave a Reply

 

Copyright © 2009 Christopher Murray