1
Hello folks,
Just wrote a little hack of backend.php to handle custom parameters.
It requires turning the cache off, i.e. commenting out the lines:
$tpl = new XoopsTpl();
[color=FF0000]//$tpl->xoops_setTemplateDir(XOOPS_ROOT_PATH.'/themes');
//$tpl->xoops_setCaching(2);
//$tpl->xoops_setCacheTime(3600);
//if (!$tpl->is_cached('db:system_rss.html')) {[/color]
Everything seems to work fine, at least according to the few load tests I conducted.
The question is simple: is it safe to turn off the template cache in backend.php? Did XOOPS developers have considerations other than those of performance when they decided on this caching?
Eric