1
spiff
RSS links: backend.php without template caching?
  • 2004/1/10 18:25

  • spiff

  • Just popping in

  • Posts: 47

  • Since: 2003/4/16


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

Login

Who's Online

197 user(s) are online (116 user(s) are browsing Support Forums)


Members: 0


Guests: 197


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits