buona sera,
I got a site where the elapsed time in tests (tm) is not shown too as by fil or you.
You related it to some output buffering setting.
Can you give some more link or information about it ?
Grazie
--
toggg
buona sera,
I got a site where the elapsed time in tests (tm) is not shown too as by fil or you.
You related it to some output buffering setting.
Can you give some more link or information about it ?
Grazie
--
toggg
bertrand Gugger ha scritto:
buona sera,
I got a site where the elapsed time in tests (tm) is not shown too as by fil or you.You related it to some output buffering setting.
Can you give some more link or information about it ?
Grazie
Sure toggg,
the problem is that on some version of php the callback setter register_shutdown_function is executed after all output buffer are flushed and close. Now if you have a gzipped output buffer, the timer will be outputted clean after the gzipped content.
At least this is what I understood.
I tested changing inc_version.php in a way that it does not call ob_start("ob_gzhandler")
There is also a global variable to control the compression:
$GLOBALS['auto_compress']
The problem is that it can be setted only in mes_options.php, so it is a configuration valid for all the site and not only for tests.
I hope you find a way to get around it.
Ciao
Renato
There is also a global variable to control the compression:
$GLOBALS['auto_compress']The problem is that it can be setted only in mes_options.php, so it is a
configuration valid for all the site and not only for tests.
if we output something directly, before calling inc_version, the mod_gz
handler will not be called
-- Fil
Fil wrote:
There is also a global variable to control the compression:
$GLOBALS['auto_compress']The problem is that it can be setted only in mes_options.php, so it is a configuration valid for all the site and not only for tests.
if we output something directly, before calling inc_version, the mod_gz
handler will not be called
ha ... register before anything , maybe the point !
I'm really not sure it is related.
I had the feeling it had to do with php version or setting.
--
toggg