Thursday, 29 August 2013

Drupal is Slow on Your Windows Machine?



There are 2 solutions to handle Drupal’s slowness on windows machine:

Hosts file Settings


Make following changes in your hosts file…
i. Call the apache web server address by ip address. On a local computer it is 127.0.0.1
ii. Comment ::1 localhost line in hosts file which is a mapping in TCP/IP v6 protocol

Disable/Adjust TCP/IP v6 protocol of your network interface


There are two options…
i. Disable TCP/IP v6 protocol of your network interface so that windows doesn’t try to resolve your hostname to an ipv6 address.
ii. ipv6 does not need to be disabled. Open your command prompt as an administrator and use following commands in command prompt
   netsh
   interface
   portproxy
   add v6tov4 listenport=80 connectport=80

80 is your web server port of course