News for hackers. Stuff that matters.
Re:A Gentle Introduction to SSR by bjarneh on Tuesday May 03, 2022 @06:48AM (#31246776)
We need to find another term for this (Server Side Rendering = SSR). SSR is starting Firefox on a server with X-forwarding or something. How is producing a complete HTML document on the server = rendering? Then PHP has been rendering webpages for years.

Offloading the actual rendering-engine from gluing together the HTML document from parts fetched or produced by Javascript prior to actually rendering the webpage can probably be a good idea in some instances. But this is hardly a new technique. Using Javascript to do it doesn't make it something different than PHP or the good old CGI scripts in Perl/Python.

Re:A Gentle Introduction to SSR by kevingadd on Tuesday May 03, 2022 @07:47AM (#31247144)
Rendering doesn't have to mean generating bitmap pixels. In any case, the pixels you generate would get compressed before going over the wire. The HTML document can be viewed as an especially convoluted vector representation of the scene (in this case, a tree) that compresses things like text very efficiently.

RDP does stuff like this to more efficiently transmit window contents over the wire, AFAIK - they're not just sending bitmaps.

Re:A Gentle Introduction to SSR by arnorhs on Tuesday May 03, 2022 @07:04AM (#31246865)
Wholeheartedly agree. I actually tweeted out this morning a suggestion: HSR (Hydrated server rendering) .. i think that encapsulates the difference pretty well.. although CHSR would be more accurate, but "Client" is implied when talking about "hydration" imo
Re:A Gentle Introduction to SSR by tatersolid on Tuesday May 03, 2022 @09:36PM (#31255825)
Back in the 90s we used to call outputting HTML from a dynamic server process “serialization”.

Get off my lawn.

Re:A Gentle Introduction to SSR by andthenwhat on Tuesday May 03, 2022 @07:54AM (#31247200)
Agree. I thought I was clicking on an article about screen-space reflections in 3D rendering, although CGI and Perl were around long before that so they win the race for that acronym.