[TYPO3-dev] Define own files to delete on `clear FE-cache`-action
Martin Kutschker
Martin.Kutschker at n0spam-blackbox.net
Thu May 24 16:44:04 CEST 2007
Dmitry Dulepov schrieb:
> Sebastian Roth wrote:
>> while developing t3 extensions i'm using the smarty template engine.
>> Caching with differenct cachekeys is activated and the exts save this
>> in typo3temp/tx_<somepath>.
>> But how may i add those files (or something like an wildcard) to the
>> list of files to be deleted when an user/admin clicks on `Clear
>> FE-Cache` in the backend?
>
> You can add tables but not files. If you really want to remove files,
> you will need either to XCLASS tcemain and override clear_cacheCmd()
> function or request a hook to this function.
There should be hooks for all cache affecting actions.
Masi
More information about the TYPO3-dev
mailing list