TCA

So that the extension Cache knows for which table it should empty the cache, you enter a row of code in the TCA of the respective table.

ctrl.extensions.cache.enabled

Values (boolean)

  • 0: disabled

  • 1: enabled

Snippet

$GLOBALS['TCA'][tx_myext_news]['ctrl']['extensions']['cache']['enabled'] = 1;