[TYPO3-english] tx_comments and caching of tt_news

Dmitry Martynenko dima at realt.by
Mon Jan 19 12:47:21 CET 2009


Hi Frank,

>> There are two possible scenarios here.
>> 
>> * If articles are all on the *same TYPO3 page* (for example, shown by extension like tt_news), than the cache for all 1000 articles will be cleared. TYPO3 (until version 4.3) does not have the API to clear cache for the given article. It is always the page when cache is cleared. There is absolutely no other way :( But it is still better than preventing page cache completely because regenerating page once is nothing when compared to generating it on each visit. So you always win with comments extension.
>> 
>> * If articles are on *different TYPO3 pages* (for example, normal pages), only cache for that single page/article will be cleared. Other articles will stay cached.
>> 
>> Comments 2.0 will try to do even better with cache but it will require 4.3 for advanced cache management and will fallback to current logic with TYPO3 < 4.3. But this version is in development and it is unclear when it will be out because it is developed in the spare time.

FS> I was talking about the first scenario. Thank you very much for the 
FS> quick and instructive answer.

Making tx_comments as USER_INT in scenario save us :)
May be it help you too.

-- 
Dmitry Martynenko
Developer

Web: http://realt.by



More information about the TYPO3-english mailing list