News for hackers. Stuff that matters.
Re:New React docs pretend SPAs don't exist anymore by tqkxzugoaupvwqr on Sunday March 19, 2023 @04:56PM (#35223512)
MPAs can do the same trick. Use JavaScript to add a <link rel=prefetch> element to prefetch a URL. Or just serve your server-side rendered page with this element included to prefetch the next page. When the user navigates to the next page, it’s instantly shown.

https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes...

There are no comments on this comment yet.