Project

General

Profile

Actions

Bug #20883

closed

speed up function t3lib_iconWorks::skinImg()

Added by Rupert Germann over 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2009-08-14
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

problem:
function t3lib_iconWorks::skinImg() wastes processing time because it is called hundreds of times when rendering the extended listview in the BackEnd. F.e. the "garbage can" icon is the same on each row, but it is processed again and again for each record.

solution:
cache the results of function t3lib_iconWorks::skinImg() and re-use it when the same icon is requested again.

(issue imported from #M11718)


Files

11718v3.diff (1.05 KB) 11718v3.diff Administrator Admin, 2009-08-14 14:14
11718_v4.diff (5.18 KB) 11718_v4.diff Administrator Admin, 2009-08-14 15:14
Actions #1

Updated by Rupert Germann over 15 years ago

FYI: committed attached v4 to trunk rev 5784

Actions

Also available in: Atom PDF