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:
le="color: #000000"><?php $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

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits