[TYPO3-english] tt_news TCEMAIN.clearCacheCmd with starttime problem

Jeroen Visser | ROQUIN E-Solutions jeroen at roquin.nl
Thu Dec 18 11:03:58 CET 2008

Hi Ben,
Thanks for the reply.

This is what I have done. On page 1 is a overview of all the news. The cache of this page is flushed when creating or editing a news item.

When I create a news item with a starttime in the future the cache is flushed on saving. When the future starttime is reached I have to manually flush 
the cache
to show the news item.

Any idea if there is a typo function that flushes the cache at starttime? Other than writing a cron script that checkes tt_news starttime and flushes 


ben van 't ende [netcreators] wrote:
> Jeroen Visser | ROQUIN E-Solutions wrote:
>> Hello,
>> In my TS config I have the typoscript
>> TCEMAIN.clearCacheCmd = 1
>> When I write a tt_news record with a starttime the news record is not
>> shown at starttime. When manually flush the cache it shows.
>> Any one a idea how to fix this? Thanks in advance.
>> Best regards,
>> Jeroen
> Hey Jeroen,
> Use "TCEMAIN.clearCacheCmd = 345,678". Put this typoscript in the pageproperties
> of folder where you store your news. Where the numbers are the PID's of the
> pages where news is shown. This will clear the cache when a new news item is
> created or modified. It also makes sense to set the cache expiry low on those
> pages so the browser is forced to reload.
> gRTz
> ben

More information about the TYPO3-english mailing list