Skip to content

Cached merge request title partial [RUN ALL RSPEC] [RUN AS-IF-FOSS]

Robert May requested to merge cached-mr-title into master

What does this MR do?

Caches the _mr_title.html.haml partial. Shaves 50ms off the rendering of the MR view:

Before

Rendered projects/merge_requests/_mr_title.html.haml (Duration: 56.4ms | Allocations: 65714) [cache miss]

After

Rendered projects/merge_requests/_mr_title.html.haml (Duration: 2.1ms | Allocations: 1454) [cache hit]

Screenshots (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • 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