[Web-SIG] Large, fixed latency on every wsgiref response

Graham Dumpleton graham.dumpleton at gmail.com
Fri Jun 8 03:41:37 CEST 2012


If on Windows then try using 127.0.0.1 instead of localhost.

There are known issues with Windows whereby localhost actually
resolves to an IPV6 address of ::1 rather than IPV4 address of
127.0.0.1. For reasons I can't remember, this causes an initial delay
in connections.

Graham

On 8 June 2012 11:28, Matt Chaput <matt at whoosh.ca> wrote:
>> Are you using an IP address or DNS name?
>>
>> http://appletoolbox.com/2010/09/fix-safari-slowness-stalled-page-loads-by-disabling-dns-prefetching/
>> http://support.apple.com/kb/TS2296
>
> "localhost", and this is on Windows, not Mac OS X. Also, as mentioned, this problem shows up to different degrees in Safari, Chrome, and Firefox. At least for me.
>
> At first glance the CherryPy server seems better and Waitress seems not to have the problem, but I haven't devoted too much time to testing them yet.
>
> Matt
>


More information about the Web-SIG mailing list