Skip to content

Prefetches Issue, MR and ToDo Lists

Tim Zallmann requested to merge tz-preload-mr-list into master

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

Bildschirmfoto_2021-12-10_um_14.27.58

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.

Edited by Tim Zallmann

Merge request reports

Loading