Hi Andrei,

I would write a FrontController Plugin and hook into the right extension points. If you want to have routing time counted, then hook into routingStart() etc. methods. (Not sure whether its actually called routingStart, but you'll find the right hooks within Zend_Controller_Front::dispatch().)

The last one might be in the dispatchShutdown() method.

Best regards
Christian
Hello,
I would like to find a nice solution to get the time, in which a page is generated in ZF. Problems: If I do it in public/index.php, I can't display it in the HTML (except with an "echo' call, but this will make the HTML invalid (as the </html> tag is already displayed) ). Other ideas?
Thank you.



Reply via email to