[Typo3] Disable page cache of certain domains

Mathias Schreiber [wmdb] mathias.schreiber at wmdb.de
Fri Nov 25 15:55:55 CET 2005


Robert John de Stigter wrote:
> Hi,
>  
> How can I disable typo3 to cache pages from a certain domain. For
> example, part of the pagetree is only accessible via www.mydomain.com.
> But back-end users who access typo3 use www.typo3domain.com/typo3/ and
> when they use the View function sometimes links will be cached with the
> typo3 domain, causing visitors to use that domain too. 

Write a custom condition

then in TS write:
[userFunc = user_match(noCacheDomain)]
config.no_cache = 1
[end]

-- 
if ($GLOBALS['TSFE']->fe_user->user['ahnung'] == 0) {
	$this->fresseHalten = 1;
}



More information about the TYPO3-english mailing list