12 ms·
Preloading the link can save a network roundtrip, but shouldn't the browser be able to do that (and parse and pre-render) as well? Other than that, surely repla
by lmm 6y ago
Preloading the link can save a network roundtrip, but shouldn't the browser be able to do that (and parse and pre-render) as well?
Other than that, surely replacing the entire page content involves the same amount of work for the browser as rendering a fresh page.
- notriddle 6y agoThey tried. It’s too complicated to do it with all of the available features. https://groups.google.com/a/chromium.org/g/blink-dev/c/0nSxuuv9bBw https://groups.google.com/a/chromium.org/g/blink-dev/c/0nSxu... https://developers.google.com/web/updates/2018/07/nostate-prefetch https://developers.google.com/web/updates/2018/07/nostate-pr...
- playpause 6y agoI was talking about what’s possible for content creators to do on the web platform we have today, not whether it’s possible for browser vendors to make something AMP-like work at the browser level in future. On your last sentence: no I don’t think so. There’s got to be some overhead in setting up a new JS/DOM environment, parsing the HTML and CSS, determining security constraints for the new domain name, stuff like that.
- ec109685 6y agoIt’d also be a privacy issue given it would leak that the person viewed a link to your website.