Skip to content

Memoize the rendered icon tags and partials

Robert May requested to merge memoized_icon_helpers into master

What does this MR do?

We render a lot of icons multiple times on a single page so memoising these will save some rendering time.

Vaguely related: #232509 (closed)

Screenshots (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Robert May

Merge request reports