[TYPO3-mvc] Thanks to all testers!

Bastian Waidelich bastian at typo3.org
Thu Jul 16 10:29:13 CEST 2009


Sebastian KurfŸürst wrote:

> I just wrote a blog post

Thanks for that, I'm sure it'll be really helpful for a lot of developers!

One issue: you write "Now, in case you change a record, the cache of the 
page where the record resides is automatically cleared".

Should read "Now, in case you change a record, the clearCacheCmd of the 
page where the record resides is automatically invoked" or something 
similar. You might want to refer to the great article by Ron Hall 
(http://buzz.typo3.org/people/ron-hall/article/dont-wear-out-the-clear-cache-button/)

And I agree to the first commend: setOrdering() is not the best name.

One more thing about the automatic cache clearing:
Triggering a tcemain command from the frontend might seem strange to 
some of you and it's probably not the best solution for all situations - 
e.g. you wouldn't want to clear the cache of a single page for all 2 
billion users of you community if only one user changed it's details ;)
But for these cases you can disable the automatic cache clearing (or 
simply leave out the TCEMAIN.clearCacheCmd on the storage page) an 
implement your own caching mechanism.
But for most of the cases this will work really neat: You specify the 
clearCacheCmd on the storage folder and - whether a record is modified, 
added or deleted from your extension _or_ in the backend - you won't 
have to think about caching anymore. Sweet.

No more editors with admin-rights just to be able to show the "clear 
cache"-buttons ;)

Bastian


More information about the TYPO3-project-typo3v4mvc mailing list