Cache labels, milestones, projects, users in browser

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

Description

I try to use labels to help sort issues and assign them to team members, etc... This means I go through each issue and assign or change labels a lot. I use a moderately slow connection (4G in Myanmar), which means that everytime I open the list of labels on an issue page (the dropdown to the right side), labels.json is requested from the server.

Not-so-rigorous testing shows an average loading time over 500ms, which makes the experience quite painful as this happens on every issue page.

There are other similar elements:

  • https://gitlab.com/api/v4/projects.json takes about 4.9 seconds!
  • https://gitlab.com/autocomplete/users.json takes about 500 ms...
  • https://gitlab.com/zigway/api_backend/milestones.json around 500ms too

Proposal

Is there a way this list of issues could be cached or locally stored on the browser side to help make the interface a bit more fluid? These are elements that do not change every minute, so caching seems to make sense.

Links / references

Documentation blurb

This does not affect the way the web interface is used, it merely would make it smoother.

Edited Sep 25, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading