[TYPO3-english] 'Clear All Caches' should trigger a shell command

Steffen Gebert steffen at steffen-gebert.de
Fri Oct 2 13:59:48 CEST 2009


On Fri, 02 Oct 2009 14:01:11 +0200, Marcel Remmy <marcel.remmy at fh-kl.de>  
wrote:

> Hi there,
>
> just wanted to drop that question for the weekend :)
>
> How would it be best practise to have a disk cache deleted on TYPO3?s  
> own 'Clear Cache' Command?
>
> I?d like to automate the flush of Apache?s mod_disk_cache whenever my  
> instance of TYPO3 has all caches cleared.
>
> It?s somewhat confusing when clearing the cache and there?s still all  
> reading from another cache n_n
>
> If there?s an unobstrusive way to achieve this, i?d like to go that way  
> and let the source files in peace. I did not find a hook that relates to  
> caching.
>
Have a look at nc_static_filecache extension. It hooks into to the  
clear-cache process.

Steffen


More information about the TYPO3-english mailing list