[TYPO3-dev] Don't cache list, cache single view

Popy popy.dev at gmail.com
Fri Mar 4 00:13:31 CET 2011


2011/3/1 Jan Bednarik <info at bednarik.org>

> Hi folks,
>
> is it possible to disable caching for list view and enable it for single
> view (because of indexed search).
>
When i need it, i make my plugin turn itself into a USER_INT (by a simple
call to this->cObj->USER


> I need to disable it, because there's a rating on single view and results
> are shown on list and so when I rate something, it's not shown on list
> because of cache. Deleting whole cache whenever someone rates something
> sounds like a bit overhead.
>
And of course, you can delete only your "list view" cache. If you are using
caching framework, the tag system could help you to do that (by tagging the
list cache).




More information about the TYPO3-dev mailing list