[BUGFIX] Cache backend usernames and workspace titles 73/28673/4
authorTim Lochmueller <tim@fruit-lab.de>
Sun, 23 Mar 2014 16:48:01 +0000 (17:48 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Tue, 16 Dec 2014 19:43:03 +0000 (20:43 +0100)
commitb843fd43aecd73283c6db9a9780bf324668813ec
tree189d6f368ec05731288e55573e56f107c77f8a74
parent06c6ad7dbba027dbefb78498e4c78b0f1c1a41c6
[BUGFIX] Cache backend usernames and workspace titles

Add a runtime cache for improved performance of user and
workspace titles in ext:belog. Those view helpers are
called twice per displayed row and should have a shortcut
if the name resolution was done already.

Resolves: #55653
Releases: master, 6.2
Change-Id: I62465faaebc13ba0dfe781350fa6c87cc87f54a6
Reviewed-on: http://review.typo3.org/28673
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Stephan GroƟberndt <stephan@grossberndt.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/belog/Classes/ViewHelpers/UsernameViewHelper.php
typo3/sysext/belog/Classes/ViewHelpers/WorkspaceTitleViewHelper.php