Created
November 20, 2013 20:35
-
-
Save dejanmarkovic/7570530 to your computer and use it in GitHub Desktop.
Apache slow on (local machine) localhost
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
For me, setting the ServerName property in httpd.conf fixed the delays (they were up to 10 seconds at worst): | |
# ServerName gives the name and port that the server uses to identify itself. | |
# This can often be determined automatically, but we recommend you specify | |
# it explicitly to prevent problems during startup. | |
# | |
# If your host doesn't have a registered DNS name, enter its IP address here. | |
ServerName 127.0.0.1:80 | |
Source: http://serverfault.com/questions/66347/the-localhost-response-very-slow-why |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment