Re: Large, fixed latency on every wsgiref response
Graham Dumpleton <[email protected]> Fri, 8 Jun 2012 11:41:37 +1000
| Newsgroups | gmane.comp.python.web |
|---|---|
| Message-ID | <CALRNbkC2K9H4bDxQ3k4YUWVvAYujePWGLqxVNVEFUjteXP9kNA@mail.gmail.com> |
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 <[email protected]> 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 > _______________________________________________ Web-SIG mailing list [email protected] Web SIG: http://www.python.org/sigs/web-sig Unsubscribe: http://mail.python.org/mailman/options/web-sig/gcpw-web-sig%40m.gmane.org