Firefox and Chrome slow on localhost; known fix doesn't work on Windows 7

后端 未结 9 1591
长情又很酷
长情又很酷 2020-11-27 13:39

Firefox and Chrome are known to be slow on localhost when IP6 is enabled. In previous versions of Windows, the simplest fix is to comment out this line from the hosts file,

9条回答
  •  再見小時候
    2020-11-27 14:17

    A bit late for an answer but i tried all of the above and still it was slow for me on Windows 7. When I use localhost it took about 20+ secs for page load.

    Firefox improved with @Mark Mayo's answer but not all the time and Chrome was still very slow.

    I found a solution here

    Basically, i added the following lines to Apache httpd.conf file (as they weren't there already)

    AcceptFilter http none 
    AcceptFilter https none 
    EnableSendfile off 
    EnableMMAP off
    

    Tested both Chrome and Firefox and the page loads instantly

提交回复
热议问题