-
Notifications
You must be signed in to change notification settings - Fork 26.5k
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
Add note about preloading to routing introduction. #22656
Conversation
Co-authored-by: JJ Kasper <jj@jjsweb.site>
@leerob This change seems to say that prefetching is not done for SSR pages. While the documentation for |
Correct - which part needs updated there? I can tackle that 👍 |
I'm not sure what it is supposed to say, because I am not sure what actually happens 😛 Is it prefetching SSR pages? And if that is the case, how (or what)? |
I think it should be more explicit, like it is in this PR. I.e. say that SSR pages are not prefetched. As it is now I thought that SSR pages were prefetched, while static pages did some extra stuff for even faster prefetching. |
And where are the discussion around why SSR pages are not prefetched? |
The JS for SSR pages is prefetched. Just not the data. |
Ok 👍 What is the reason for not prefetching data for SSR pages? Not that it needs to be the default, but having it as an option would be nice. |
Preloading is mentioned in the
next/link
docs, but not in the routing introduction.