Issue Task Closed

#56110IconUtility::getSpriteIcon() needs a cache

Michiel Roos 02/19/14, 11:41 updated 10/23/17, 21:39

Description

IconUtility::getSpriteIcon() is used heavily in many parts of the backend Treeview, page and list to name a few areas.

Most of the calls (279) use just the first parameter: $iconName

Many callers (135) use more parameters.

The calls with just the one parameter can be cached, preventing rendering the same code over and over again (in list mode and page tree for example).

Reviews 2