Hello!

On Thu, Jun 22, 2017 at 05:53:04AM -0400, jindov wrote:

> I've configured for nginx to cache static like jpeg|png. The problem is if
> request with MISS status, it will show a non-zero value request_time, but if
> a HIT request, the request_time value is 0.000.

This is expected behaviour.  When nginx is able to fully serve a 
request during one event loop iteration (that is, read the 
request, and fully send the response to the socket), $request_time 
will be 0, as nginx's internal time is only updated once per event 
loop iteration.

-- 
Maxim Dounin
http://nginx.org/
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to