[TYPO3-english] Cache settings dilemma

Loek Hilgersom loek at netcoop.nl
Wed Oct 22 15:12:48 CEST 2014


Hi Viktor,

Thanks a lot for this great answer, it's one of those new features which I new 
existed but had not seen the documentation for. (Only used the caching framework 
from PHP inside extensions so far)

If I understand it correctly, a simple implementation would be to just add to

plugin.tt_news.stdWrap.addPageCacheTags = newsPlugin

and then set

TCEMAIN.clearCacheCmd = cacheTag:newsPlugin

and never have to worry about lists with page-ids anymore.
I'll have to see about BE-performance, experience will show.
But this sounds like a feature I'm going to use a lot!

Loek


On 22-10-14 14:28, Viktor Livakivskyi wrote:
> Hi, Loek.
>
> You can try
> TCEMAIN.clearCacheCmd = cacheTag:pagetag1 [1] and add page tags to the required
> pages, then there will be less messages in log and at same time not all the
> pages caches will be flushed. This should be available since 6.1, afaik.
>
> But be aware, that this command sometimes may slow down your BE [2]
>
> [1]:
> http://docs.typo3.org/typo3cms/TSconfigReference/PageTsconfig/TCEmain/Index.html#clearcachecmd
>
> [2]: http://forum.typo3.org/index.php?t=msg&th=206148


More information about the TYPO3-english mailing list