Local web service calls extremely slow
I encountered this strange phenomenon that made web service calls in my local development environment very, very slow. Pinging the service went fast, browsing directly to the web service went fast, only a call from one local website to the other went really slow.
The reason is that I'm using OS X Yosemite in which (as from Lion) the top level domain .local is reserved for services like Bonjour. And guess what tld I was using. Changing the tld of my local website to something else fixed the problem.
Conclusion: stop using .local as top level domain for your local websites (especially when working on OS X).
Source: http://serverfault.com/questions/66347/why-is-the-response-on-localhost-so-slow
The reason is that I'm using OS X Yosemite in which (as from Lion) the top level domain .local is reserved for services like Bonjour. And guess what tld I was using. Changing the tld of my local website to something else fixed the problem.
Conclusion: stop using .local as top level domain for your local websites (especially when working on OS X).
Source: http://serverfault.com/questions/66347/why-is-the-response-on-localhost-so-slow
Add new comment