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.
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.
Technically it's possible.
Render the website server side as an image. Chrome 75+ supports native lazy loading of images, so a series of them stacked vertically is needed. Each image represents a new page, scroll through them to navigate. Click detection can be done with a <map> tag.