[BUGFIX] Cache backend usernames and workspace titles 25/35525/2
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:39 +0000 (20:43 +0100)
commit091f6599929b67a96faf71b16b7de9ef1a9c83c2
tree79d86a1b0a710d3c37fd916ef7ffb82346ee81f6
parent87ec9a59811368796d0ab4d661e68d82b86e269e
[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/35525
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