Welcome! Log In Create A New Profile

Advanced

Re: Slow OPTIONS requests with reverse proxy cache

Maxim Dounin
January 23, 2019 08:24AM
Hello!

On Tue, Jan 22, 2019 at 04:48:23PM -0800, Roger Fischer wrote:

> I have noticed that the response to OPTIONS requests via a
> reverse proxy cache are quite slow. The browser reports 600 ms
> or more of idle time until NGINX provides the response. I am
> using the community edition of NGINX, so I don’t have any timing
> for the upstream request.

You do have timing for the upstream request, see the following
variables:

http://nginx.org/r/$upstream_response_time
http://nginx.org/r/$upstream_connect_time
http://nginx.org/r/$upstream_header_time

You can configure logging of these variables using the log_format
directive. It is also a good idea to configure logging of generic
request processing time, $request_time.

--
Maxim Dounin
http://mdounin.ru/
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Slow OPTIONS requests with reverse proxy cache

Roger Fischer January 22, 2019 07:50PM

Re: Slow OPTIONS requests with reverse proxy cache

Maxim Dounin January 23, 2019 08:24AM

Re: Slow OPTIONS requests with reverse proxy cache

Roger Fischer January 23, 2019 12:04PM

Re: Slow OPTIONS requests with reverse proxy cache

Maxim Dounin January 23, 2019 01:02PM

Re: Slow OPTIONS requests with reverse proxy cache

Roger Fischer January 23, 2019 09:04PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 250
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