Welcome! Log In Create A New Profile

Advanced

Re: Poor performance in serving of static files

Maxim Dounin
July 18, 2011 11:34AM
Hello!

On Mon, Jul 18, 2011 at 03:51:55PM +0100, Jürg Lehni wrote:

> That was exactly it!
>
> I knew it must be something really silly that I'm overseeing.
>
> Would it be good to mention this on the Wiki? I could imagine
> others having similar issues.
>
> It might be good also to allow the control of keepalive behavior
> separate for GET and POST requests?

The problem with Safari is that it may use any closed keepalive
connection to send POST and this will result in problems. That
is, the only way to mitigate the problem is to completely disable
keepalive connections with Safari.

Probably acceptable solution would be to change keepalive_disable
default to "msie6" (which would disable keepalives with old MSIE
after POSTs) leaving "safari" as a workaround option for people
who really use POSTs and see problems with Safari.

Maxim Dounin

>
> Thank you all for your help!
>
> Best,
>
> Jürg
>
> On 18 Jul 2011, at 15:08, Maxim Dounin wrote:
>
> > Hello!
> >
> > On Mon, Jul 18, 2011 at 02:48:47PM +0100, Jürg Lehni wrote:
> >
> >> This is very interesting! I just tried out Chrome and Firefox
> >> and I don't see these differences in performance. It's only on
> >> Safari. On Chrome, Nginx seems to have an edge even. How is this
> >> possible?
> >
> > This is probably due to disabled by default keepalive for Safari
> > due to problems with POSTs[1]. Try
> >
> > keepalive_disable msie6;
> >
> > (default is "msie6 safari")
> >
> > [1] https://bugs.webkit.org/show_bug.cgi?id=5760
> >
> > Maxim Dounin
> >
> > _______________________________________________
> > nginx mailing list
> > nginx@nginx.org
> > http://nginx.org/mailman/listinfo/nginx
>
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://nginx.org/mailman/listinfo/nginx

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Poor performance in serving of static files

Jürg Lehni July 17, 2011 06:20PM

Re: Poor performance in serving of static files

Ensiferous July 17, 2011 08:24PM

Re: Poor performance in serving of static files

Jürg Lehni July 18, 2011 02:04AM

Re: Poor performance in serving of static files

Igor Sysoev July 18, 2011 03:00AM

Re: Poor performance in serving of static files

Jürg Lehni July 18, 2011 04:46AM

Re: Poor performance in serving of static files

Igor Sysoev July 18, 2011 05:08AM

Re: Poor performance in serving of static files

Jürg Lehni July 18, 2011 05:18AM

Re: Poor performance in serving of static files

Maxim Dounin July 18, 2011 05:14AM

Re: Poor performance in serving of static files

Jürg Lehni July 18, 2011 05:24AM

Re: Poor performance in serving of static files

Igor Sysoev July 18, 2011 05:58AM

Re: Poor performance in serving of static files

Jürg Lehni July 18, 2011 06:02AM

Re: Poor performance in serving of static files

Jürg Lehni July 18, 2011 04:48AM

Re: Poor performance in serving of static files

Ed W July 18, 2011 08:58AM

Re: Poor performance in serving of static files

Jürg Lehni July 18, 2011 09:50AM

Re: Poor performance in serving of static files

Maxim Dounin July 18, 2011 10:10AM

Re: Poor performance in serving of static files

Jürg Lehni July 18, 2011 10:54AM

Re: Poor performance in serving of static files

Maxim Dounin July 18, 2011 11:34AM

Re: Poor performance in serving of static files

Jürg Lehni July 19, 2011 05:42AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 306
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready