Draft: Add caching for project member invite modal view
What does this MR do and why?
Add caching for project member invite modal view.
This view is rendered on every single project page that uses app/layouts/projects.html.haml
if the user has the required permissions, and performs a relatively expensive query (10-15% of the overall page load time) on every page load for a rarely-used feature.
This MR adds a cache around the modal partial to reduce the number of expensive queries. Long-term this modal would make more sense as a separate page rather than adding this load-time onto every page load.
Changelog: performance
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.