Re:The Cost of JavaScript in 2019
by furyofantares on Sunday June 30, 2019 @09:27PM
(#20321759)
I think you can also just keep sending html. Send a page with page2.png at the bottom and keep the connection open. This is a sentinel image to detect scrolling — when page2.png is requested, use this as a command to tell the server to start sending html for page 2 on the original connection, which would have page3.png at the bottom.
[ Parent
| on HN ]
Re:The Cost of JavaScript in 2019
by NullPrefix on Monday July 01, 2019 @06:10AM
(#20323931)
This is even simpler. Forgot that HTML can be executed while loading.