[TYPO3-mvc] Extbase objects caching
bernd wilke
t3ng at bernd-wilke.net
Mon Jun 2 08:59:18 CEST 2014
Am 29.05.14 14:07, schrieb Viktor Livakivskyi:
> Hi, Philipp.
>
> Thank you for your answer.
> Yes, using stdWrap.cache or cache viewhelper (btw, there is alrady one
> in EXT:vhs [1]), but it is almost useless in a situation, when you need
> same objects collection, but different output.
> Real world example: product list, which is always same, but currently
> selected product must be highlighted.
selecting the right data you could cache the productlist _with_
individual highlighted selection:
just apply the selection after display with javascript.
either javascript gets the selection from cookie or from uncached JS
added to the end of the page.
bernd
--
http://www.pi-phi.de/cheatsheet.html
More information about the TYPO3-project-typo3v4mvc
mailing list