[TYPO3-dev] Clear cache inline in typo3 extension

Caspar Stuebs caspar at gosign.de
Wed Jan 14 12:56:09 CET 2015


Hi Dennis,

I like to help you, but you have to be more specific what you like to do.

- Which cache and how much of the cache do you like to clear? Configuration
Cache? Pages Cache? Only for one page, for a bound of pages, all pages?
- From which context you need to clear the cache? Backend, cli, other?

The cache clearing mechanism is located in class
\TYPO3\CMS\Core\DataHandling\DataHandler line 6958ff

You may use the function clear_cacheCmd($cacheCmd) or
registerRecordIdForPageCacheClearing($table, $uid) one of the hooks inside.

Kind Regards
Caspar

2015-01-14 10:59 GMT+01:00 Dennis Dittrich <dittrich at netspione.de>:

> Hello Developers,
>
> i search for a method to delete/clear the fontend cache of typo3 5.2 cms
> after i insert some data in database.
> Greets from Germany,
> Dennis Dittrich
>
>
>
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-dev
>

-- 
-- 

Gosign media. GmbH | We web ideas.
Langenfelder Damm 67 Gewerbehof | 22525 Hamburg
Telefon 040-609 40 79-0

Handelsregister AG HH HRB 112197 | Geschäftsführung Bert Gogolin
Greenpeace energy: Gosign läuft mit ehrlichem Strom und Gas.
GLS Bank: Gosign wirtschaftet mit Gewissen. 



More information about the TYPO3-dev mailing list