Get the latest tech news
Extreme Server Side Rendering
What is (Normal) Server Side Rendering? Before we get into extreme server side rendering (XSSR), we have to talk about normal server side rendering (SSR). This comes in two flavours, which I'm calling old-school and new-school.
This is because the physics engine runs entirely in the back-end, and new CSS is constantly being sent to update the position of the pipes, the bird, and the content of the score text at 60 FPS. For perspective, this means it would take about 49 seconds of gaming to use the same bandwidth as loading a 1MB JavaScript application (which unfortunately is on the smaller side these days). As a result, the demo is extremely playable if you're in Atlantic Canada (near-ish my house, where the server lives), and gradually gets more laggy the further you get.
Or read this on Hacker News