WTF Do These Even Mean

  Рет қаралды 69,809

Web Dev Simplified

Web Dev Simplified

Күн бұрын

React Simplified Course: reactsimplified.com/?...
There are so many acronyms when dealing with rendering and they all sound so similar. It is tough to know what each acronym means and which is the best option for you. That is why in this video I will be breaking down exactly what each acronym is, the pros/cons of each, and what applications they are best used for.
📚 Materials/References:
React Simplified Course: reactsimplified.com/?...
React Job Board (CSR Example): react-simplified-job-board.ne...
My Blog (SSG Example): blog.webdevsimplified.com/
🌎 Find Me Here:
My Blog: blog.webdevsimplified.com
My Courses: courses.webdevsimplified.com
Patreon: / webdevsimplified
Twitter: / devsimplified
Discord: / discord
GitHub: github.com/WebDevSimplified
CodePen: codepen.io/WebDevSimplified
⏱️ Timestamps:
00:00 - Introduction
00:33 - Definitions
01:05 - How Websites Work
03:45 - CSR
05:17 - SSR
06:42 - SSG
09:05 - ISR
12:04 - Comparison
#CSRvsSSR #WDS #SSGvsISR

Пікірлер: 109
@nid30
@nid30 5 ай бұрын
Much awaited topic covered from my favorite educator!! Penned down every single word that you explained... This really helps when referencing and revising the topics. And not to forget, Kyle you explained the concept of Hydration so beautifully and concisely, sharp on point. Heartfelt appreciation for your efforts...!!🙌🙌🙏🙏
@MrHellmager
@MrHellmager 5 ай бұрын
This honestly been in the back of my mind for weeks. Thank you for addressing this topic.
@theisoj
@theisoj 5 ай бұрын
You explained this really well! Thanks Kyle as always! 👍👍
@youngcoding5055
@youngcoding5055 5 ай бұрын
You make everything look easy! Thanks bro!
@systematicpsychologic7321
@systematicpsychologic7321 5 ай бұрын
I just wanted to say I watch all your vids and you're great for all things web dev. Thanks a ton for the effort, I keep picking up new tricks for you.
@ff-mj2fv
@ff-mj2fv 5 ай бұрын
Please keep on posting top notch videos and i especially like your shorts 🔥
@JominJose
@JominJose 5 ай бұрын
One of the most overlooked topics in web dev. Thank you for making it so simple and clear!
@carlosmspk
@carlosmspk 5 ай бұрын
I would deeply disagree, most people in the industry begin by discussing this, and it's the first dev step of any new product Maybe you meant to say it's overlooked by people learning/teaching web dev?
@JominJose
@JominJose 5 ай бұрын
@@carlosmspkYes, that's what I meant
@morraez4772
@morraez4772 5 ай бұрын
This is a really goos explaination. would you consider doing a part 2 giving some code example for each type?
@venkat.sairam
@venkat.sairam 5 ай бұрын
🎯 Key Takeaways for quick navigation: 00:13 📚 *In this video, the presenter explains the meanings of acronyms like SSR, CSR, SSG, and ISR, as well as their differences and use cases in web development.* 02:08 🖥️ *Server-Side Rendering (SSR) involves minimal build time, with most work happening on the server. It's suitable for traditional server-rendered applications.* 04:02 💻 *Client-Side Rendering (CSR) sends HTML and JavaScript to the client, with all rendering happening on the client side. Common in React applications.* 06:50 📦 *Static Site Generation (SSG) builds all HTML pages at build time, resulting in fast load times. Ideal for static content websites.* 09:22 🔄 *Incremental Static Regeneration (ISR) combines benefits of SSG and SSR. It generates some pages at build time and others on-demand, useful for dynamic content with shorter build times.* 11:54 🌐 *The choice between these approaches depends on where you want to allocate the most time and workload: client, server, or a balance between them, based on your project's needs.* Made with HARPA AI
@saralightbourne
@saralightbourne 5 ай бұрын
😰😰😰
@ansh_mittal
@ansh_mittal 5 ай бұрын
One day I saw this channel and now I am very confident in web dev thanks dude ❤❤❤🎉
@atmanatos7165
@atmanatos7165 5 ай бұрын
Hi Kyle. Been a while since your last comprehensive MySQL course. Please do a fully comprehensive one that touches the advanced levels.
@nikhilsinha2191
@nikhilsinha2191 5 ай бұрын
thanks for the info you really were helpfull I will go with ssr for my blogs as it will contain content of more than 1 user and needs seo as well which I will handle from my backend django admin server
@aqibmalik6313
@aqibmalik6313 5 ай бұрын
by the way I love your work. I have great admiration for you. Keep up the good work. ❤❤❤
@karimbouche3563
@karimbouche3563 5 ай бұрын
Thank you kyle ,excellent video ,i like your content
@pxkqd
@pxkqd 5 ай бұрын
Which one to use depends on the use case. SSR works for everything, but has the most downsides. SSG is good for docs and other non dynamic content that doesn't grow a lot. ISR is the best for websites. CSR is best for apps.
@user-ug7qq8oi9u
@user-ug7qq8oi9u 5 ай бұрын
thank you! i love this contents
@yoavmelamed1522
@yoavmelamed1522 4 ай бұрын
Thank you for the video! What would you use for building an admin dashboard app (for example: CRM app or something like that) CSR or SSR? why?
@user-cq3wm2lu8u
@user-cq3wm2lu8u 5 ай бұрын
dude great video
@incarnateTheGreat
@incarnateTheGreat 5 ай бұрын
Good points all around. I generally stick with SSR, which is what Next.js has out of the box. That said, with React Server Components now available, we can go about dynamic data calls that can be made safely via the server. The only issue is, re-hydrating takes a bit of wizardry. Once that is sorted, I feel like I would stick with that approach: let the server do the heavy-lifting.
@AkashhGuptaa
@AkashhGuptaa 4 ай бұрын
What's the issue with re hydration explain a bit more brother
@ahmedahmedx9600
@ahmedahmedx9600 5 ай бұрын
Hi webdevsimplified, please i have a request, can you make a video and show some tips and tricks to make the website fully responsive with all screens ? Thank you very much for your content !
@prographics2788
@prographics2788 5 ай бұрын
hey kyle, when will your next.js course be released ?
@CodingPuff
@CodingPuff 5 ай бұрын
Looking at your summary graph it’s almost as if we are going back to the old way progressively😂
@smooticus1691
@smooticus1691 5 ай бұрын
One question, wouldn’t a CSR website have cheaper server costs than a SSR website? If so, is it by a significant amount?
@keithjohnson6510
@keithjohnson6510 5 ай бұрын
Yes, especially when the site has lots of dynamic content. There is currently lots of hype about all variants of SSR, and with all this hype developers have forgotten about the benefits of CSR, very stange. It's never been a better time to develop with CSR, so it's not something I'm moving away from any time soon.
@VioNectro
@VioNectro 5 ай бұрын
If your clients can’t render your page with csr in todays age then there is a serious issue with your page.
@IvanRandomDude
@IvanRandomDude 5 ай бұрын
Yes, in principle. However, CSR sites can have huge problem with waterfalls (especially if you are not careful how you fetch the data) which can lead to spikes on the server and degraded performance. None of these rendering strategies are silver bullets and have their pros and cons. That's why most modern frameworks allow you to use all of them inside the same application and decide per page basis how is your page going to be rendered. So one page can be prerendered and served as static content, other page might use SSR while some other page can be pure CSR.
@keithjohnson6510
@keithjohnson6510 5 ай бұрын
@@IvanRandomDude "However, CSR sites can have", the main point here is `can have`, SSR can have issues if badly written. But based on what the poster asked about server costs, unless SSG all the other SSR variants including, Reacts new RSC etc, will all come with server costs. But like you say, a hybrid option would certainly be a good idea, especially a mix of SSG & CSR, this mix should then keep server costs down.
@shgysk8zer0
@shgysk8zer0 4 ай бұрын
I mostly do some combination of SSG with selectively CSRed components. I think web components/custom elements are pretty awesome there since they don't rely on some JS framework or routing or state or anything, so it's less expensive to mix the two strategies (had I built them with React, well... if I'm loading the whole framework, why not just build a React site?)
@DamirSecki
@DamirSecki 5 ай бұрын
I think thios is very deceiving... all of the methods should be hybrid... I wish you would mention, the first load is SSR or CSR or SSG, etc... after it is streamed to the client... they can become (and more often than not) a normal SPA, where the bits are then hydrated asyncronously.... especially when you mentioned CSR... and that the server is not doing almost any work... that is obviously very false... or deceiving... the server does not do anyt work to serve initial html and js... but does plenty of work to fetch the data via API (or other protocols)... also for SSG this is the case... ASTRO pages are not just static pages and can be hybrid - the beauty is the super fast FIRST load... but then if you want your page to be interractive and get fresh data asybc load, it can be done... hence the island architecture...
@avertry9529
@avertry9529 5 ай бұрын
Thanks, please do SolidJS tutorial
@mme725
@mme725 5 ай бұрын
You know, I knew this should have been javascript related. However I still for some reason couldn't get what CSR was outside of that thing I used to generate to get an SSL certs for clients.
@ZainRamzan-pt8cm
@ZainRamzan-pt8cm 5 ай бұрын
@WebDevSimplified can you make a video on SSR , SSG, ISR using the next 14
@SLRModShop
@SLRModShop 5 ай бұрын
It's easy, SSR is Screen Space Reflection, I clearly don't need this video, I'm just going to watch it for entertainment purposes 😁
@sicfxmusic
@sicfxmusic 5 ай бұрын
When artists' jobs are in jeopardy and now they're forced to learn programming.😅
@g_pazzini
@g_pazzini 5 ай бұрын
dude
@user-ge1sq3nx1z
@user-ge1sq3nx1z 5 ай бұрын
your an inspiration to us all…
@motabhai8767
@motabhai8767 5 ай бұрын
so you never used CSR. so only php till now ?
@FunctionGermany
@FunctionGermany 5 ай бұрын
mostly correct, but i have a few gripes: SSR and static files is how the web started and people already wrote their own SSG systems back then. what's new about next.js's SSR is the hydration where you essentially have SSR and CSR, so the "best experience" but also the highest amount of work with server and client combined. and now we have server components where we can choose to not hydrate some components and reduce CSR. another big advantage of SSG or SSR are link previews on social media and messengers. and finally, these strategies are often mixed. for example, you can SSR the SEO and link preview relevant parts but then use CSR only for the rest of your website. or you can use SSG with (next without server components) or without (astro) CSR. or selective CSR with astro. so in reality most projects are more complicated than this, especially if the dev doesn't know what they're doing 😂
@akshaygadekar3089
@akshaygadekar3089 5 ай бұрын
There is also 'on-demand static regeneration'
@user-mj1uo5mc1x
@user-mj1uo5mc1x Ай бұрын
Do you have a video of how to implement SSR step by step? I haven’t been able to get SSR to work with react.
@kemekenneth
@kemekenneth 3 күн бұрын
Did I hear "everytime that I create a new blog article, I just rebuild..." I want the benefit of SSG without rebuilding anytime I publish a new article.
@fordycegozali241
@fordycegozali241 5 ай бұрын
If I have a news portal that is built using React and I have about 10 articles per day, is it still recommended to use SSR for better SEO?
@robinparadise
@robinparadise 5 ай бұрын
Actually you can reduce the build time of SSG a lot not using a lot of dependencies on Astro or Hugo... There are a lot of SSGs that can build thousands of pages in less that a second (Hugo specially do that 💀)
@saputrauta09
@saputrauta09 3 ай бұрын
Thankyou!
@cherubin7th
@cherubin7th 5 ай бұрын
CSR is best for free and open source stuff because of money constrains.
@repairstudio4940
@repairstudio4940 5 ай бұрын
Too bad most suffer from CRS and will never remember CSR or any of this. 😂
@ExtraTurtle
@ExtraTurtle 2 ай бұрын
You mentioned SSG can be complicated when you have a site like ecommerce, and it has tons of products. But usually, products are stored in the DB, and you only have one page that shows product details I assume SSG doesn't fetch all items from the DB and generate a static page for each product? or am I wrong?
@Manish___Choudhary
@Manish___Choudhary 15 күн бұрын
Which will be best for an e-commerce website?
@cameronadams4366
@cameronadams4366 Ай бұрын
Correct me if i am wrong : the build process happens ONCE, after any new codes changes, by the HOSTING platform (Vercel, Netlify etc) ?
@arijitroy5695
@arijitroy5695 5 ай бұрын
Could you please provide an examples of each different technique in your KZbin channel.
@bobkazamakis5169
@bobkazamakis5169 2 ай бұрын
great job
@sae11
@sae11 5 ай бұрын
How about React Server Components (RSC)?
@alivenumber5
@alivenumber5 4 ай бұрын
Minimize the amount of work done on the client. Minimize the amount of work done on the server during route handling and general GET requests. But during either the build step or application back-end startup you cache everything you can in-memory. And what you can't fit in memory you save as pre-cached html on disk. This is the way.
@vaaljan
@vaaljan 5 ай бұрын
SSR -> Doing the work on your server, means you pay right. If the user does the work. nobody pays. So when that scales to like Million users you gonna get a pretty aws bill. Think combination of csr and ssr makes sense to me
@samislam2746
@samislam2746 5 ай бұрын
Please make server components video 😢
@chasec4897
@chasec4897 11 күн бұрын
But how is any one of the methodologies created ? how do I create a web app having ssr or isr or even csr? I know on NextJS we created specific components to be csr, but what about isr and the others?
@kueifengtung2693
@kueifengtung2693 4 ай бұрын
So for spring And spring boot, which type is it? Ssr?
@mikescholz6429
@mikescholz6429 5 ай бұрын
My first SSR is old enough to legally drink already lol
@aleattorium
@aleattorium 5 ай бұрын
For aaall that isn't it less complex to just do things in a framework like Elixir and use liveview?
@firstname4337
@firstname4337 4 ай бұрын
CCR - creedence clearwater revival
@mr_hassanali
@mr_hassanali 5 ай бұрын
Thanks
@user-ut4hj7kc1t
@user-ut4hj7kc1t 3 ай бұрын
Love there colors)
@iMagicGraalOnline
@iMagicGraalOnline 5 ай бұрын
I would love to see another channel called just "Dev Simplified" where Kyle helps us out with other languages and areas of development. Would be very refreshing
@TheTrainWatch
@TheTrainWatch 5 ай бұрын
I’m not sure it is fair to show all the bars as the exact same size. SSR can eliminate round trip network calls that happen with CSR
@alitonoliveira1700
@alitonoliveira1700 5 ай бұрын
For some reason revalidate does not seems to work for ISR. For me, ISR is working just like SSR.
@Daddyjs
@Daddyjs 5 ай бұрын
You have to set when the cache should re validate the data.
@mattskelton7471
@mattskelton7471 5 ай бұрын
I miss the good 'ol LAMP days.
@devrajparida828
@devrajparida828 5 ай бұрын
Does ISR works well with SEO?
@LaLoses
@LaLoses 3 ай бұрын
You missed one thing. 💸💸Pricing!!! If the server does many builds, it will increase the memory usage and will impact the monthly bill. Or doesn't? What its your experience? Going full CSR is the cheapest?
@LaLoses
@LaLoses 3 ай бұрын
Great video tho
@aytviewer2421
@aytviewer2421 4 ай бұрын
CSR = Client Service Request It's been used for 20-30 years. This is an ongoing problem it the IT/Development world. Folks keep repurposing acronyms that are already in place.
@CheskerHard63
@CheskerHard63 5 ай бұрын
wow thanks you
@tognolibsas
@tognolibsas 5 сағат бұрын
in CSR build time should be less.
@jonathangamble
@jonathangamble 5 ай бұрын
No Black Friday deals?
@bmehder
@bmehder 5 ай бұрын
What would we do with Kyle? We got to pull together and get my man a double guitar stand and maybe a picture or two for those walls.
@mecozir
@mecozir 5 ай бұрын
if run is style basic make does code exit password
@user-iu6hu8oq5p
@user-iu6hu8oq5p 5 ай бұрын
Thank you for the video. I'm not sure where the breaking point for CSR is exactly though. I've never seen any client-side problems with CSR for the sites I've built. Is there like a rule of thumb for this that is more specific than just "as your application scales"? And how should one exactly look for problems with CSR?
@mecozir
@mecozir 5 ай бұрын
related table throw IDE
@RandomGeometryDashStuff
@RandomGeometryDashStuff 5 ай бұрын
02:18 how is it server rendered if server just sends html and client does rendering to screen?
@bo-kaiwang5189
@bo-kaiwang5189 5 ай бұрын
To my understanding, 'rendering' in SSR and CSR means to generate your html contents (texts, images, etc), so in SSR, the server has already generated those things and what the client only needs do is produce the visual representation of your html contents. On the other hand, in CSR, the server doesn't generate your real html contents. The client generates those things and produces the visual representation
@regime5070
@regime5070 4 ай бұрын
I know them but not as acronmysm
@redgood5879
@redgood5879 5 ай бұрын
they means: CHAOS
@wekesirken6961
@wekesirken6961 5 ай бұрын
What's up Kyle
@sandorturbucz425
@sandorturbucz425 5 ай бұрын
Wheel reinvented over and over again and again. Let me guess the next BS acronym in this series: HSG: Hybrid Site Generation - this combines the benefits of SSR, SSG and ISR, with literally no downsides at all - all of your pages can be generated in a mixed manner, some parts of the page is staticly built, other chunks are dynamic and hydrated, with interactivity. Your turn what's next? Hmm maybe I will write a framework for writing frameworks that can produce a new page generator strategies in no time.
@re.liable
@re.liable 5 ай бұрын
ISR: International Space Ranger
@Daddyjs
@Daddyjs 5 ай бұрын
ISR FOR THE WIN
@code.design
@code.design 5 ай бұрын
Just like the Beatles. I use USSR.
@TheBlackGentlemanGeek
@TheBlackGentlemanGeek 5 ай бұрын
They should add SSJ, SSJ2, SSJ3, etc., to make it more dragon ball. What about USSR for the OG’s… CIA, FBI, anyone? Relax guys, I’m trolling.
@typoerror177
@typoerror177 5 ай бұрын
you forgot one acronym: PHP
@64_bit_coding
@64_bit_coding 5 ай бұрын
hello
@TylerR909
@TylerR909 5 ай бұрын
Didn't even say CMS once! Edit: 'ope, there it is
@cv3509
@cv3509 5 ай бұрын
Hey Kyle, Those are not Acronyms. They are called abbreviations or Initialism. 😊
@paxdriver
@paxdriver 5 ай бұрын
They are "initialisms" not "acronyms" I'm not trying to be a douche correcting you, but I believe educational content merits strict scrutiny for posterity, that's all.
@Joe-SoftwareEngineer
@Joe-SoftwareEngineer 5 ай бұрын
SSR? CSR? SSG? ISR? WTF? 😄😄
@axMf3qTI
@axMf3qTI 5 ай бұрын
so where does htmx fall? it's the old way or ssg with dynamic html insert into the page, i'll guess that part ssr. when i first heard about ssr i thought that's what it meant html snippets send to the browser.
@vichetnoeng706
@vichetnoeng706 5 ай бұрын
Which one is great for SEO?
@tom_cl_1342
@tom_cl_1342 5 ай бұрын
I guess all of them except CSR? I hope one day the bots are "smart" enough and we don't need to worry about SEO when using CSR😅
@Dev-Siri
@Dev-Siri 5 ай бұрын
​@@tom_cl_1342 even if the bots were "smart" enough, CSR SEO is far from ideal
@DamirSecki
@DamirSecki 5 ай бұрын
All of them are, even CSR. Sionce most of the search engines run headless browsers and compile and run JS just fine. But you do get some benefits from SSR/SSG and the other one in terms of speed, since the search engines favor speed a bit more (especially SSG is great for that).
React Server Components Change Everything
15:48
Web Dev Simplified
Рет қаралды 183 М.
Zustand - Complete Tutorial
19:27
Cosden Solutions
Рет қаралды 56 М.
ВИРУСНЫЕ ВИДЕО / Мусорка 😂
00:34
Светлый Voice
Рет қаралды 11 МЛН
Which one will take more 😉
00:27
Polar
Рет қаралды 73 МЛН
Do you REALLY need SSR?
18:15
Theo - t3․gg
Рет қаралды 154 М.
You Suck At Accessibility (But You Don't Have To)
13:23
Web Dev Simplified
Рет қаралды 50 М.
You might not need useEffect() ...
21:45
Academind
Рет қаралды 131 М.
How To Actually Get Hired In 2024
10:43
Web Dev Simplified
Рет қаралды 185 М.
Why Signals Are Better Than React Hooks
16:30
Web Dev Simplified
Рет қаралды 442 М.
Web Developer Roadmap (2024) - Everything is Changing
25:02
ByteGrad
Рет қаралды 222 М.
10 Rendering Patterns for Web Apps
6:55
Beyond Fireship
Рет қаралды 318 М.
ВИРУСНЫЕ ВИДЕО / Мусорка 😂
00:34
Светлый Voice
Рет қаралды 11 МЛН