Is a Page with 60% Server-rendered HTML and 40% Client-rendered HTML Considered SSR or CSR?

0
5
Asked By CleverNinja92 On

I'm trying to figure out the classification of a page where the server handles 60% of the rendering as static HTML, while the client takes care of the remaining 40%. Does this count as server-side rendering (SSR) or client-side rendering (CSR), or is it something in between?

5 Answers

Answered By ReactFanatic101 On

It’s a mix of both! If the server delivers any HTML, it's not purely static – it’s definitely SSR at play. Even if the client does extra work afterward, many might still call it SSR because there’s that initial load from the server.

CodeNinja22 -

Makes sense, the client part just enhances it!

OldSchoolCoder -

I argue that anything rendered on the server counts as SSR.

Answered By DevNerd34 On

I’d say it's hybrid too! If the server is generating HTML and the client is just enhancing it, then you’re looking at a blend of both. People often overlook how important it is to have a fully functional initial state from the server if you want it to be considered SSR.

SkepticalSam -

But how do you know when it's ready enough from the server?

HappyDev89 -

Exactly, the client’s role in the final state is crucial!

Answered By DeepThinker_x On

Honestly, just measuring by percentages isn’t that helpful. What’s key is if the content is ready for the user from the server. If everything they need is there at load time, it’s SSR; if they need to fetch more, that leans towards CSR. Terms can muddy the waters, it ultimately depends on user readiness.

PracticalPete -

Right? It's about the end user experience.

AnalyticsQueen -

All these acronyms can get so tedious!

Answered By BluntDev On

For sure it’s hybrid! Just because you have both doesn’t mean one is more important than the other. It’s about how they collaborate for the final result. Also, this notion of doing it one way or the other is a bit outdated – many modern sites use aspects of both.

ChillVibesDev -

Exactly, a holistic view is what we need!

DataDrivenDan -

Yeah, it’s all about solving problems now.

Answered By ChillCoder77 On

Great question! Honestly, it doesn't necessarily have to be a binary choice. You can view it as a hybrid approach where both SSR and CSR come into play. Some folks call it bi-render or progressive enhancement since part of the page is served statically while the client handles interactivity.

TechSavvyBilly -

Totally agree, it’s about how everything fits together!

CuriousDev99 -

So is it safe to say there’s not one right answer here?

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.