[Typo3-dev] disable caching of the page in a plugin

Robert John de Stigter robertjohn at bedrijvenweb.nl
Tue Dec 6 12:16:12 CET 2005


>>I was wrong here: set it to 0.

>>Dmitry. 

Thanks. I found out though that this works too: 

$GLOBALS["TSFE"]->set_no_cache();

-----Oorspronkelijk bericht-----
Van: typo3-dev-bounces at lists.netfielders.de
[mailto:typo3-dev-bounces at lists.netfielders.de] Namens Robert John de
Stigter
Verzonden: dinsdag 6 december 2005 11:09
Aan: List for Core-/Extension development
Onderwerp: [Typo3-dev] disable caching of the page in a plugin

Hi,
 
I put the following line in my plugin to disable typo3 to cache the
page:
 
$GLOBALS['TSFE']->config['no_cache'] = 1 ;
 
I do this because the plugin contains a form wich should not be cached.
Am I doing this the wrong way?
 
Cheers,
Robert
_______________________________________________
Typo3-dev mailing list
Typo3-dev at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev




More information about the TYPO3-dev mailing list