we ran some simple tests using Date.now to find the difference between the link click and page load, and the ajax was around 1.9 times faster, which is very close to 2. nice question though!
Brave thinks you’re giving a 404 error, it’s asking if I want to find the page on wayback machine.
This is glitch also so you might wanna set some limits for max pages otherwise a page with lots of links will make lots of requests.
For really heavy sites preload all the links within the region of the viewport(where the user can see) and download more when the user scrolls and make sure to delete the old links
Use an optional special protocol with the server to be able to request multiple pages with one request
Detect low bandwith and automatically disable/enable some features
Not sure if this is possible with the capabilties of js but don’t load images and videos and iframes until the users scrollbar is near
For downloads preload only the first 100kb or some number of data