No, if it’s on a shared host, that won’t work... what I’m trying to eliminate is the potential wait time for each request. If your page has links to your CSS/JS etc files, and they are referenced as "
http://yoursite.com", then a request (requiring a lookup) is put out into the wild for yoursite.com -- that’s a domain name lookup when "yoursite.com" resolves to some IP address where your site actually lives.
By editing the hosts file, that call would never go out into the wild, it would get redirected immediately back to your server. So the thing I was trying to test was whether or not the delay happened when you put that request out to the wild. Editing the DNS entries for the site is editing the data "in the wild" -- so it’s too late in the food chain to test this particular thing. You should of course ensure that your entries are correct etc. but DO NOT make the changes you outlined -- it’s a different server entirely, so if you told THAT server (the DNS server) to redirect to itself (i.e. to 127.0.01), requests for yoursite.com would arrive at the DNS server, and then never leave. Make sense?
But why is your reverse DNS showing up as an ftp subdomain? That looks odd to me... maybe the FTP daemon is picking up the ringing phone on any requests... that would slow things down for sure. Just thinking out loud here...