[TYPO3-commerce] $GLOBALS['TSFE']->set_no_cache() --> bad practice --> why using it?

Peter Niederlag niederlag at ikd01.de
Mon Sep 10 14:29:24 CEST 2007


Hello,

Franz Koch schrieb:
>[...]
> But there must be a different way. Does anybody know if setting the
> following to values would also prevent realurl caching and indexed
> search caching?
> ---
> $this->pi_checkCHash = true;
> $this->pi_USER_INT_obj = true;
> ---

Have a look at class.tslib_pibase.php::pi_linkTP()

These ^^ instance-variables are used by the link functions of pibase.
based on those settings the links generated will contain a cHash-or
no_cache-parameter.

AFAIK they don't modify the caching straight away but only influence the
 paramters in generated links/URL's.

[...]

hth,
Peter
-- 
Peter Niederlag
http://www.niekom.de * TYPO3 & EDV Dienstleistungen *
http://www.typo3partner.net * professional services network *


More information about the TYPO3-project-commerce mailing list