"How can I reduce prefetching (to optimize hosting bill) without sacrificing navigation speed too…
@asidorenko_35K followers
102,871 views
10 Comments
Comments from the original post on X (Twitter)

@asidorenko_
Code example in the docs (scroll a bit to the code block)
18 likes

@followbl
for the bold, nextjs has an experimental feature - unstable_dynamicOnHover I have a link component in my apps that I import everywhere, so this was a one line change for me (dont forget to set th)e feature in your next config as well 😺
21 likes

@asidorenko_
Nice! TIL
2 likes

@3IMXXD
or use By predicting cursor motion, this library prefetches elements ahead of time.
13 likes

@asidorenko_
Yep, this one in todos for future vids, looks very interesting
1 like

@TomWatkins1994
Always surprises me this isn't the default. I quite like how @tannerlinsley links work with user intent
3 likes

@adamaoc
Oh that’s nice
2 likes

@BehEvans
oh, never thought about it, damn I love it man! gonna swtich my links to hoverOnPrefetch
2 likes

@Yosuva20
nice one
1 like

@DE07358
Should be the default behaviour tbh
1 like