[TYPO3-english] Clear cache in backend module of an extension (TYPO3 4.5)

Hauke Hain newgrp at googlemail.com
Sun Oct 16 16:41:23 CEST 2011


Hi there,

in TYPO3 <4.5 I used the following function to clear the cache of specific 
pages:
    function clearPageCache($pid) {
      $TCE = t3lib_div::makeInstance('t3lib_TCEmain');
      $TCE->clear_cacheCmd($pid);
    }

This does not work with TYPO3 4.5.
I know how I can do better (correct for TYPO3 4.5) in an frontend plugin, 
but I do now know how to do it correct in the backend.

Thank you for reading. Do you have any idea?

Kind regards
Hauke 



More information about the TYPO3-english mailing list