[TYPO3-dev] scheduler_task should clear cache for one page
Bernd Wilke
t3ng at pi-phi.tk
Fri Aug 26 12:25:32 CEST 2011
On 08/26/2011 12:07 PM, Christian Kuhn wrote:
> On 08/26/2011 10:05 AM, Bernd Wilke wrote:
>> I have written a scheduler-task to import data.
>> this is working, but the FE-display of the data is cached and after an
>> data-update the cached page still is shown with old data.
>>
>> how can I clear cache of a page?
>
> If caching framework is enabled:
> cacheManager->getCache('cache_pages')->flushByTag('PageId_4711');
no caching framework enabled. so this error occured:
| A cache with identifier "cache_pages" does not exist.
> See wiki for details.
http://wiki.typo3.org/Caching_framework
--
http://www.pi-phi.de/cheatsheet.html
More information about the TYPO3-dev
mailing list