4 ms·
> the page also never reloads Well, that's really only technically correct, since the strategy here is to replace the whole page with a new version of it on ea
by p4bl0 3y ago
> the page also never reloads
Well, that's really only technically correct, since the strategy here is to replace the whole page with a new version of it on each virtual keypress, by using CSS to hide the previous HTML and then receiving the new updated version of the web page's content. The only tricks is to use a chunked content-transfer to have this all happen over a single HTTP request, so yes technically the page does noes reload, but it's pretty much the same thing as if it did.
Really cool trick nonetheless! And more importantly fun trick, and fun read :).
- pcthrowaway 3y agoI think it'd at least eliminate some of the overhead with establishing new connections on every request with HTTP/1.1 or HTTP/2, but I'm not sure about HTTP/3