I'm pretty sure it relied on in-browser XSLT to do a lot of its magic.
The future (and the past) of the web is server side rendering
51–60 of 371 posts
Re: The future (and the past) of the web is server side rendering
#52Earlier quoted context omitted.
Googlebot has been able to index SPAs since 2019. They use a Headless Chrome instance and allow a number of seconds for things to render after each interaction.
With the caveat that server-generated HTML is indexed immediately, while pages that need client-side rendering get put into a render queue that takes Google a while to get to (days?).
Most CSR applications are behind a login wall anyway. Thinking of the core applications of services like WhatsApp, Discord, Gmail, Dropbox, Google Docs etc.
Bottom line, whether SSR really being “the future”: “it depends”.
Re: The future (and the past) of the web is server side rendering
#53> Performance is higher with the server because the HTML is already generated and ready to be displayed when the page is loaded. but the page is loaded later because you have to wait for the server to perform this work. There is no reduction in total work, probably an absolute increase because some logic is duplicated. If there is a speed improvement it is because the server has more clock cycles available than the c…
The server is either building a JSON (or some other message format) response, or, it could just build the relevant HTML fragment. In many cases, there is no real increase in actual work on the server.
Conversely, the client side doesn't need to parse JSON and convert it to a DOM fragment.
There's solid reasons for both approaches, depending upon the context.
Re: The future (and the past) of the web is server side rendering
#54Can someone explain me: Deno is becoming such a confusing framework, initially NodeJS alternative now it seems to me that is trying to compete with NextJs?
Re: The future (and the past) of the web is server side rendering
#55“Server side rendering” is such a terrible term. The server isn’t doing rendering, the browser is. The server is sending a complete well-formed DOM for the client to render. Well done, modern devs! A plain .html file does that. I really hope some of the heavy front-end frameworks die a death, some common sense prevails, and we get a lighter, faster loading, more responsive web. I can dream.
Re: The future (and the past) of the web is server side rendering
#56“Server side rendering” is such a terrible term. The server isn’t doing rendering, the browser is. The server is sending a complete well-formed DOM for the client to render. Well done, modern devs! A plain .html file does that. I really hope some of the heavy front-end frameworks die a death, some common sense prevails, and we get a lighter, faster loading, more responsive web. I can dream.
> Well done, modern devs! A plain .html file does that And then if you want to take that rendered data and do anything interactive with it you have some js soup of parseInt(document.getQuerySelector(".item > .item__quantity") all over the place. HN has some weird hate for this new server side rendering, when it's really the smart thing to do and equivalent to what any app is doing: the "frame" of the app is downloade…
Developers just shouldn't write that kind of fragile code by hand. But there's nothing wrong at all with the code being there.
Re: The future (and the past) of the web is server side rendering
#57I think it's a bit ridiculous to call it "server side rendering". It is called HTTP
Re: The future (and the past) of the web is server side rendering
#58Re: The future (and the past) of the web is server side rendering
#59Re: The future (and the past) of the web is server side rendering
#60I really like client side apps. They are so much more responsive. The only problem is with bundle sizes.