1
i'm trying to implement the module cache. i use the php code mith provided in the theme file:
<{php}>echo "Loaded in ".round(($GLOBALS['xoopsLogger']->dumpTime()), 3)." seconds | ".count($GLOBALS['xoopsLogger']->queries)." queries";<{/php}>
before the module cache implementation, i have:
Loaded in 0.33 seconds | 36 queries
after i set the module cache, i got:
Loaded in 3.029 seconds | 31 queries
why the loaded time is increasing instead? is it something wrong with loaded time code? as the no of queries is decreasing. the no of query which really matter in this case, am i correct?
one further question, regarding the module cache feature: will it be always work? or is it depending on the programmer whether he implement it or not and it depends on how 'good' he code it (as sometime it won't work if we don't code it good enough)?
thanks in advance!