Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IE8 on Localhost really slow - Firefox, Opera, Chrome and Safari all fast on the same - why?

I have some pages on my local machine, accessed via localhost, that are horribly slow to open/load using IE8, but very fast using Firefox, Opera, Chrome and Safari.

They used to load really quickly using IE7.

I produced a cut down page to test - to see what was causing the problem - and seriously, the most simple page possible causes it! I.e:

<html>
    <head></head>
    <body> 
        Hello!
    </body>
</html>

Takes about 15 seconds to open on localhost in IE8, and is instant on all other browsers! Why? What can I do to resolve this?

By the way, tried this on a Web server, connecting via a URL via IE8, and it was basically instant when opened via IE8 via the Web/Web server!

I have Windows Update enabled, so should have the latest of everything.

Note: I only noticed this after my internet connection changed, which was about 2 weeks after IE8 was installed. Possibly that is coincidence, it MAY have started with the install of IE8, I am actually not sure. It is definitely happening now though.

The URL I am using is: http://localhost/fb/starttest.htm

Help!

like image 601
Glenn Groves Avatar asked Dec 20 '09 00:12

Glenn Groves


People also ask

Why is Firefox so slow compared to Chrome?

I found that Firefox used more RAM than Chrome, which not only debunks Mozilla's claims but comes as a huge surprise considering Chrome's reputation as a computer performance killer. With this in mind, Firefox is likely to slow down your computer faster than Chrome is.

Which browser is the fastest?

Google Chrome is the fastest web browser you can get on a Windows machine. It surpassed the competition in three out of four tests, outranking even Microsoft's latest Edge browser—which is now based on ChromiumChromiumChromium is a free and open-source web browser project, mainly developed and maintained by Google. This codebase provides the vast majority of code for the Google Chrome browser, which is proprietary software and has some additional features. Chromium.https://en.wikipedia.org › wiki › Chromium_(web_browser)Chromium (web browser) - Wikipedia—in all but one test.

What is slowing down my browser?

Some of the other common causes of the problem with slow web browsing or web browser taking a long time start could be: Cluttered temporary Internet files. Malware infection. Unwanted browser add-ons or extensions. Weak WiFi signal.


3 Answers

Try the following:

1- Navigate to C:\Windows\System32\drivers\etc

2- Open the file hosts using any text editor

3- Add this line to the end of the file

127.0.0.1     localhost

4- Before you save this file, you need to make sure that any program that access the internet (browsers etc.) is closed - Save the file and test it

like image 144
Omar Avatar answered Oct 11 '22 21:10

Omar


Under Tools -> Internet Options -> Connections -> LAN Settings, is the box "Automatically detect proxy servers" checked?

If so, that does a DNS request to wpad.(domain search suffix) to discover proxy servers via their Auto Discovery Protocol.

If nothing responds, the query will have to timeout before it gives up.

like image 28
J.J. Avatar answered Oct 11 '22 20:10

J.J.


I also had this exact same problem recently - 'localhost' taking 15 seconds to load, but 127.0.0.1 loading instantly.

However, I have now fully solved my problem, so I write here in the hope that it will help someone.

My problem coincided with the purchase of a D-Link DIR-655 wireless router, so after trying many of the kindly offered 'fixes' on this forum, I turned back to my router settings in search of an answer.

I eventually discovered a setting on the SETUP - NETWORK SETTINGS page. The 'Enable DNS Relay' box was checked, so I read about it, and it apparently allows the router to lookup DNS addresses from the ISP's server. This is obviously not desired for a 'local' address on my own PC, and so I tried unticking it.... and HEY PRESTO, IT WORKED!!!

I hope this work for some of you, too!

All the best,

Rob

like image 32
Rob Orland Avatar answered Oct 11 '22 22:10

Rob Orland