[TYPO3-mvc] Cache problem with update form
Bastian Waidelich
bastian at typo3.org
Mon Aug 9 12:08:20 CEST 2010
Helmut Hummel wrote:
Hi Helmut,
> Really? Does extbase use tcemain for data storage?
Well, not exactly:
By default Extbase clears the cache of the page that contains the
record, as soon as you modify/add/delete records.
Normally those records reside in a storage folder and not on the
respective page. Thus clearing (only) the cache of the page containing
the records wouldn't be enough.
So the Typo3DbBackend checks, whether you defined a "clearCacheCmd" in
the tsconfig of the storage page and if so, clears the caches of
specified pages.
BTW1: apparently this does not work for "clearCacheCmd = all" but only
if you specify page ids like "clearCacheCmd = 1,2,3"
BTW2: this behavior can be disabled by setting
"persistence.enableAutomaticCacheClearing" to false in your TS setup
Best,
Bastian
More information about the TYPO3-project-typo3v4mvc
mailing list