[TYPO3-mvc] blog_example - caching issues?
Ingmar Schlecht
ingmar at typo3.org
Wed May 20 14:44:31 CEST 2009
Steffen Kamper schrieb:
> Hi,
>
> Ingmar Schlecht schrieb:
>>
>> Most piBase extensions are just read-only extensions which don't modify
>> the records in the database. With that scenario it's quite simple, the
>> cache for a page is always cleared by TCEMain when a record on the page
>> is edited.
>>
>> I think we could do the same for the persistence in Extbase: Just
>> trigger a cache clearing for the page on every record modification for
>> the PID.
>>
>
> that isn't that simple. Remember tt_news, where you change records in
> storage pid, but need flushing cache on the Pids where the news plugin
> is. There is a pageTS cacheCMD IIRC to deal with this.
I think we need some way of emulating that clearCacheCmd pageTS setting
for Extbase plugins then. Or automatically detect if that has been set -
but that would probably not be beneficial for the performance.
> Also it could be that such magic could do the flushing too often.
I would still go for it for now - it should work in most cases, but
there should be a way of coding ones own cache clearing mechanism.
cheers
Ingmar
More information about the TYPO3-project-typo3v4mvc
mailing list