Dear all

i've written a custom module to handle the cache of my CMS system.

Basically this module works in ap_hook_translate_name and decides
(following some custom logic) if the request can be served or not from the
cache.

If yes, the r->uri is changed to be served locally from my cache dir
if no, the r->filename is changed to be server from
a proxy:balancer://cluster config

In the ap_hook_log_transaction i'd like to compute the time of content
generation using:

>float request_duration_sec=(float)(apr_time_now() -
r->request_time)/1000000;

Is this approach correct?

Is there any other hook more appropriate to do that?

Thanks all in advance.

Bye

-- 
/*************/
nik600
http://www.kumbe.it

Reply via email to