[Typo3] problems with caching (Mysteries of cHash ? :-) )

Rupert Germann rupi at gmx.li
Tue May 10 15:42:29 CEST 2005


Gerd Reise wrote:
> 
> I have tried to manually disable caching as Kasper described in his
> article "Mysteries of cHash" with $GLOBALS['TSFE']->set_no_cache(), but
> doesn´t work either.
> 
> Anyone know, how to solve this problem ?

the problem is: where does this users get the links without cHash from?
 
a workaround would be to check if a value for cHash is given from GPvars in
your extension before outputting any content. If no cHash exists -> no
output. So all users who type in urls by hand will see a white page or - if
a chash was typed in by hand - caching will be disabled by TYPO3 because
incoming and calculated cHash doesn't match.


greets
rupi




More information about the TYPO3-english mailing list