Prefetches Issue, MR and ToDo Lists
What does this MR do and why?
To increase the perceived performance when switching to the users issue list, users MR lists and users todo list we prefetch already on hover (after the cursor is for 100ms on) the page of the link the user is on to already prefetch. When the user then clicks the browser either has the page already completely prefetched or continues the request. Which can cut the experience down (if fully prefetched) to 10ms for the page switch (compared to 1-1.5 s that are average on those requests).
- The browser will not do requests twice
- Same way of prefetching that we already do on the repo browser
Screenshots or screen recordings
How to set up and validate locally
Hovering over the top 3 user list icons (Issues, MR's, ToDo's) and MR's in the MR list, they should all kickoff a prefetch.
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.