openui / openui/open-ui

Should we be Link Prefetching all sidebar links?

Open
#958 4 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

discussion needs-triage openui-site
Dominant language
MDX
Stars
4.5k
Forks
226
Avg merge
2d 22h
Merged PRs (30d)
4

Description

Similar to https://github.com/openui/open-ui/issues/921 but more to discuss if we should even be Prefetching the sidebar links?

Prefetch should be used where a navigation is likely. For example we should prefetch the View Proposal / View Research links on respective pages. But Prefetching all sidebar links feels like a waste of network hops (especially when it's doubled up see above linked issue) when it's unlikely people will visit all of them.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the sidebar prefetch behavior and the related Open UI issue #921, which are the only entry points identified here. Done would require a settled decision on whether all sidebar links should be prefetched and, if so, a clearly defined scope for the change.

Written by the indexing model from the issue text.

Assessment

Domain
performance, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.