[TYPO3-english] Image-cache clear on normal page cache clearing
Michal Cygankiewicz
mc at amtsolution.pl
Fri Feb 12 09:00:32 CET 2016
Hi,
I am clearing cache for single extbase controller actions by:
/** @var $cacheManager \TYPO3\CMS\Core\Cache\CacheManager */
$cacheManager = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Cache\\CacheManager');
$cacheManager->getCache('cache_pages')->flushByTag('TAG_NAME_' . $product->getUid());
$cacheManager->getCache('cache_pagesection')->flushByTag('TAG_NAME_' . $product->getUid());
Of course earlier I am adding those tags in extbase controller. But that part works fine - cache is cleared. But what is the problem is the fact that images generated in those views are not flushed and generated again. How to force cache clearing to clear also images-cache?
More information about the TYPO3-english
mailing list