request time

Marcos Neves marcos.neves at gmail.com
Mon Jul 14 15:54:52 MSD 2008


You mean using php code inside my application?

On Sun, Jul 13, 2008 at 6:15 PM, Erek Dyskant <erek at blumenthals.com> wrote:

>
>
> >
> > after the proxy complete, I would like to add a header called
> > PHP-Request-Time with the execution duration in milliseconds, like
> > this:
> > PHP-Request-Time 230ms
>
> The problem is that it'd need to know the full request time before it
> finishes sending headers and begins sending data, so it'd have to buffer
> every request.
>
> I'd suggest that you add the request time to your log files instead.
>
> Regards,
> Erek Dyskant
>
>
>


-- 
Marcos Neves
+55 44 3263-8132
+55 44 9918-8488
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20080714/062db094/attachment.html>


More information about the nginx mailing list