[TYPO3-dev] Clear Cache when new data inserted
Daniel Pötzinger
operation-lan at gmx.de
Mon Apr 3 19:51:01 CEST 2006
Stefan Weber wrote:
> Hi all
>
> I wrote a little extension to handle addresses. New addresses (ie.
> entries into the database table used by the extensions) can be inserted
> in the List-Module as usual for extensions.
>
> But if I insert new addresses/entries, I have to clear the cache
> manually. But it would be nice if the cache is cleared automatically (if
> I change a normal text content element, I also do not have to clear the
> cache and this seems very similar to me - so I guess something like this
> exists also for extensions).
>
> I don't want to run the plugin as USER_INT, because the changes are not
> that frequent and that's why I think USER fits best here.
>
> I hope I could make myself clear :)
>
> Thanks,
>
> Stefan Weber
It should work with also:
If you insert the records on another page than the plugin this may help you:
http://typo3.org/documentation/document-library/references/doc_core_tsconfig/current/view/1/3/
# Will clear the cache for page ID 12 and 23
# when saving a record in this page:
TCEMAIN.clearCacheCmd = 12,23
Greetings
More information about the TYPO3-dev
mailing list