[TYPO3-dev] Trigger action after cache is cleared

Christian Futterlieb christian at futterlieb.ch
Wed Dec 11 14:34:16 CET 2013


Hi Philipp

You can use this hook:

$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearCachePostProc']

But keep in mind, that this hook is called via backend. Thus the 
frontend stuff (eg. TSFE, typoscript setup, etc) will not be present.

Regards, Christian



On 10.12.13 10:42, Philipp wrote:
> Hey!
>
> How can i register a hook to TYPO3 to trigger some action when someone
> cleared the cache?
> I want to update some caches directly in stead of updated them on demand
> when something is requested threough the FE.
>
> kind regards.



More information about the TYPO3-dev mailing list