Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(link): prefetch routes #1568

Closed
wants to merge 2 commits into from
Closed

fix(link): prefetch routes #1568

wants to merge 2 commits into from

Conversation

purusott
Copy link
Collaborator

@purusott purusott commented Jul 3, 2024

No description provided.

Copy link
Collaborator

@emilielr emilielr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kult med prefetch! Det eneste jeg lurer litt på er om det er nødvendig. Det gjør jo ting mye kjappere mtp at man forhåndshenter ruter, men det betyr også at man henter inn mer data på klientsiden. Vi kan f. eks kun ha prefetching på de sidene brukere besøker mest? @oyvindgrutle har du noen tanker?

<Link
href="/"
aria-label="Tilbake til landingssiden"
prefetch={true}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trenger man prefetch her? Nesten hele siden er vel statisk uansett, så vet ikke hvor mye det gir å prefetche den

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kan verr enig i det.

@purusott purusott closed this Jul 8, 2024
@purusott purusott deleted the fast-nav branch July 24, 2024 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants